summaryrefslogtreecommitdiffstats
path: root/clang/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-09-16 10:36:17 +0000
committerBill Wendling <isanbard@gmail.com>2007-09-16 10:36:17 +0000
commite5615156ccb8598fc0d23d3cc19d53a5f58673f9 (patch)
treec3093edc0a4be9ba3563b08c68f7b7b8656ed633 /clang/Sema/SemaDecl.cpp
parent4cd516b50bf9b5751b90c7aa407b0c4702dca278 (diff)
downloadbcm5719-llvm-e5615156ccb8598fc0d23d3cc19d53a5f58673f9.tar.gz
bcm5719-llvm-e5615156ccb8598fc0d23d3cc19d53a5f58673f9.zip
Only emit the personality function as a global value if the backend actually
supports it. This solves this error on the Darwin x86-64 platform: $ cat testcase.ii struct A { A(); }; A *bork() { return new A; } $ llvm-g++ -arch x86_64 -c testcase.ii /var/tmp//cc3U8fd8.s:52:unknown section type: non_lazy_symbol_pointers /var/tmp//cc3U8fd8.s:52:Rest of line ignored. 1st junk character valued 76 (L). /var/tmp//cc3U8fd8.s:53:Unknown pseudo-op: .indirect_symbol /var/tmp//cc3U8fd8.s:53:Rest of line ignored. 1st junk character valued 95 (_). llvm-svn: 41999
Diffstat (limited to 'clang/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud