https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80953
Bug ID: 80953 Summary: Support libsanitizer on Solaris Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Target: *-*-solaris2.* Created attachment 41449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41449&action=edit Use SANITIZER_* macros in libsanitizer/interception As I've just reported in LLVM bugzilla https://bugs.llvm.org//show_bug.cgi?id=33274 I've made quite some progress with a libsanitizer port to Solaris, to the point where 32-bit x86 results are good and 32-bit sparc results decent. While most of the issues need to be fleshed out upstream to get this support into gcc, some are gcc specific and I'm filing this PR to keep track of them. I'm again attaching the patches that are common with LLVM because the ones attached to the LLVM bug will be superceded by trunk versions in due time, while those here should apply to the version of libsanitizer in gcc. On top of the interception macros and basic support patches, there are those for the gcc side (libsanitizer build system, driver stuff etc.), one for a testsuite issue and the first cut at the sparc support patch. Rainer