aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSergey Dmitrouk <sdmitrouk@accesssoftek.com>2015-02-16 19:51:06 +0000
committerSergey Dmitrouk <sdmitrouk@accesssoftek.com>2015-02-16 19:51:06 +0000
commit0aa66cf8f838ca49eff577623018dd2a53719dbd (patch)
treef36f1dc0a0c9429a51e7e27cb17a3e8dd6db62c8 /clang/lib/CodeGen/CodeGenModule.cpp
parent4d0397382c26ab3914654459223be8ca8f12f412 (diff)
downloadllvm-0aa66cf8f838ca49eff577623018dd2a53719dbd.zip
llvm-0aa66cf8f838ca49eff577623018dd2a53719dbd.tar.gz
llvm-0aa66cf8f838ca49eff577623018dd2a53719dbd.tar.bz2
Do not add -fno-exceptions without -funwind-tables
Adding just -fno-exceptions breaks libunwind in quite mysterious way when it's there, but exception handling doesn't work because of dummy unwind tables. Also as using exceptions implies references to symbols defined in libcxx, abort build of libcxxabi as shared library if we have to keep exceptions (when compiler supports -fno-exceptions, but not -funwind-tables; one example would be a cross-compiler, in which case testing for -funwind-tables flag by CMake actually requires libunwind to be available before it's built). llvm-svn: 229427
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions