Switch i686 exception handling back to dwarf
The code generation bug in llvm has been fixed now.
This commit is contained in:
1 parent
1759d79daa
commit
f9ce17774e
2 files changed
+2
-10
No files matched your search
@@ -283,11 +283,7 @@ int _tmain(int argc, TCHAR* argv[]) {
|
|||||||
exec_argv[arg++] = _T("--driver-mode=g++");
|
exec_argv[arg++] = _T("--driver-mode=g++");
|
||||||
|
|
||||||
if (!_tcscmp(arch, _T("i686"))) {
|
if (!_tcscmp(arch, _T("i686"))) {
|
||||||
// Dwarf is the default for i686, but there are a few issues with
|
// Dwarf is the default for i686.
|
||||||
// dwarf unwinding in code generated for i686, see
|
|
||||||
// https://bugs.llvm.org/show_bug.cgi?id=40012 and
|
|
||||||
// https://bugs.llvm.org/show_bug.cgi?id=40322.
|
|
||||||
exec_argv[arg++] = _T("-fsjlj-exceptions");
|
|
||||||
} else if (!_tcscmp(arch, _T("x86_64"))) {
|
} else if (!_tcscmp(arch, _T("x86_64"))) {
|
||||||
// SEH is the default here.
|
// SEH is the default here.
|
||||||
} else if (!_tcscmp(arch, _T("armv7"))) {
|
} else if (!_tcscmp(arch, _T("armv7"))) {
|
||||||
|
|||||||
@@ -37,11 +37,7 @@ clang++|g++|c++)
|
|||||||
esac
|
esac
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
i686)
|
i686)
|
||||||
# Dwarf is the default for i686, but there are a few issues with
|
# Dwarf is the default for i686.
|
||||||
# dwarf unwinding in code generated for i686, see
|
|
||||||
# https://bugs.llvm.org/show_bug.cgi?id=40012 and
|
|
||||||
# https://bugs.llvm.org/show_bug.cgi?id=40322.
|
|
||||||
FLAGS="$FLAGS -fsjlj-exceptions"
|
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
# SEH is the default here.
|
# SEH is the default here.
|
||||||
|
|||||||
Reference in new issue
Block a user