[PATCH] D73397: [Clang] Enable -fsanitize=leak on Fuchsia targets
Roland McGrath via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 24 17:57:42 PST 2020
mcgrathr created this revision.
mcgrathr added reviewers: phosek, aarongreen, cryptoad, vitalybuka.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This required some fixes to the generic code for two issues:
1. -fsanitize=safe-stack is default on x86_64-fuchsia and is *not* incompatible with -fsanitize=leak on Fuchisa
2. -fsanitize=leak and other static-only runtimes must not be omitted under -shared-libsan (which is the default on Fuchsia)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73397
Files:
clang/lib/Driver/SanitizerArgs.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/Fuchsia.cpp
clang/test/Driver/fuchsia.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73397.240342.patch
Type: text/x-patch
Size: 6613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200125/986883a7/attachment.bin>
More information about the cfe-commits
mailing list