summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/solaris-opts.c
Commit message (Collapse)AuthorAgeFilesLines
* [Driver] Enable __cxa_atexit on SolarisRainer Orth2019-07-171-1/+1
| | | | | | | | | | | | | | | | | | | Starting with Solaris 11.4 (which is now the required minimal version), Solaris does support __cxa_atexit. This patch reflects that. One might consider removing the affected tests altogether instead of inverting them, as is done on other targets. Besides, this lets two ASan tests PASS: AddressSanitizer-i386-sunos :: TestCases/init-order-atexit.cc AddressSanitizer-i386-sunos-dynamic :: TestCases/init-order-atexit.cc Tested on x86_64-pc-solaris2.11 and sparcv9-sun-solaris2.11. Differential Revision: https://reviews.llvm.org/D64491 llvm-svn: 366305
* [Solaris] Default to -fno-cxa-finalize.Rafael Espindola2015-09-141-0/+4
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
OpenPOWER on IntegriCloud