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 | 656ab16c56187efd58fd378fd4e556f61d4c97bf (patch) | |
tree | df1d652e7cea492f0c5297cadc920e7bd1e60373 /lib/Target/CBackend/CBackend.cpp | |
parent | 2486686689af91c02357fd0925ed213e4dfe0ed1 (diff) |
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 (_).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
0 files changed, 0 insertions, 0 deletions