Add more proper references to dwarf issues on i686
This commit is contained in:
1 parent
a8064cfdb5
commit
4b537369ca
2 files changed
+8
-18
No files matched your search
@@ -280,15 +280,10 @@ 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 libunwind sometimes fails to
|
// Dwarf is the default for i686, but there are a few issues with
|
||||||
// to unwind correctly on i686. The issue can be reproduced with
|
// dwarf unwinding in code generated for i686, see
|
||||||
// test/exception-locale.cpp. The issue might be related to
|
// https://bugs.llvm.org/show_bug.cgi?id=40012 and
|
||||||
// DW_CFA_GNU_args_size, since it goes away if building
|
// https://bugs.llvm.org/show_bug.cgi?id=40322.
|
||||||
// libunwind/libcxxabi/libcxx and the test example with
|
|
||||||
// -mstack-alignment=16 -mstackrealign. (libunwind SVN r337312 fixed
|
|
||||||
// some handling relating to this dwarf opcode, which made
|
|
||||||
// test/hello-exception.cpp work properly, but apparently there are
|
|
||||||
// still issues with it).
|
|
||||||
exec_argv[arg++] = _T("-fsjlj-exceptions");
|
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.
|
||||||
|
|||||||
@@ -36,15 +36,10 @@ clang++|g++|c++)
|
|||||||
esac
|
esac
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
i686)
|
i686)
|
||||||
# Dwarf is the default for i686, but libunwind sometimes fails to
|
# Dwarf is the default for i686, but there are a few issues with
|
||||||
# to unwind correctly on i686. The issue can be reproduced with
|
# dwarf unwinding in code generated for i686, see
|
||||||
# test/exception-locale.cpp. The issue might be related to
|
# https://bugs.llvm.org/show_bug.cgi?id=40012 and
|
||||||
# DW_CFA_GNU_args_size, since it goes away if building
|
# https://bugs.llvm.org/show_bug.cgi?id=40322.
|
||||||
# libunwind/libcxxabi/libcxx and the test example with
|
|
||||||
# -mstack-alignment=16 -mstackrealign. (libunwind SVN r337312 fixed
|
|
||||||
# some handling relating to this dwarf opcode, which made
|
|
||||||
# test/hello-exception.cpp work properly, but apparently there are
|
|
||||||
# still issues with it).
|
|
||||||
FLAGS="$FLAGS -fsjlj-exceptions"
|
FLAGS="$FLAGS -fsjlj-exceptions"
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
|
|||||||
Reference in new issue
Block a user