Switch i686 exception handling back to dwarf

The code generation bug in llvm has been fixed now.
This commit is contained in:
Martin Storsjö committed 2019-05-04 07:55:04 +03:00
1 parent 1759d79daa
commit f9ce17774e
2 files changed
+2 -10

No files matched your search

+1 -5
View File
@@ -283,11 +283,7 @@ int _tmain(int argc, TCHAR* argv[]) {
exec_argv[arg++] = _T("--driver-mode=g++");
if (!_tcscmp(arch, _T("i686"))) {
// Dwarf is the default for i686, but there are a few issues with
// 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");
// Dwarf is the default for i686.
} else if (!_tcscmp(arch, _T("x86_64"))) {
// SEH is the default here.
} else if (!_tcscmp(arch, _T("armv7"))) {
+1 -5
View File
@@ -37,11 +37,7 @@ clang++|g++|c++)
esac
case $ARCH in
i686)
# Dwarf is the default for i686, but there are a few issues with
# 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"
# Dwarf is the default for i686.
;;
x86_64)
# SEH is the default here.