diff options
| author | Bill Wendling <isanbard@gmail.com> | 2007-09-16 10:36:17 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2007-09-16 10:36:17 +0000 |
| commit | e5615156ccb8598fc0d23d3cc19d53a5f58673f9 (patch) | |
| tree | c3093edc0a4be9ba3563b08c68f7b7b8656ed633 /clang/Sema/SemaDecl.cpp | |
| parent | 4cd516b50bf9b5751b90c7aa407b0c4702dca278 (diff) | |
| download | bcm5719-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

