diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-09-14 23:21:31 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-09-14 23:21:31 +0000 |
| commit | fe71f3887cc13a4261b41ead855e6dd2455a293c (patch) | |
| tree | f15b53d58f61692b2feaff58f7812a4f760635b0 /clang/test | |
| parent | 8ef7a5b4b7270ecc4a53e053c533bcee6e6b976e (diff) | |
| download | bcm5719-llvm-fe71f3887cc13a4261b41ead855e6dd2455a293c.tar.gz bcm5719-llvm-fe71f3887cc13a4261b41ead855e6dd2455a293c.zip | |
[Solaris] Default to -fno-cxa-finalize.
There is no __cxa_finalize symbol available on recent Solaris OS
versions, so we need this flag to make non trivial C++ programs run.
Also stop looking for cxa_finalize.o, since it won't be there.
Patch by Xan López!
llvm-svn: 247634
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/solaris-opts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/solaris-opts.c b/clang/test/Driver/solaris-opts.c new file mode 100644 index 00000000000..8c54ae0a628 --- /dev/null +++ b/clang/test/Driver/solaris-opts.c @@ -0,0 +1,4 @@ +// RUN: %clang %s --target=sparc-sun-solaris2.11 -### -o %t.o 2>&1 | FileCheck %s + +// CHECK: "-fno-use-cxa-atexit" + |

