[PATCH] D32886: [asan] A clang flag to enable ELF globals-gc
Evgenii Stepanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 4 17:35:26 PDT 2017
eugenis created this revision.
This feature is subtly broken when the linker is gold 2.26 or
earlier. See the following bug for details:
https://sourceware.org/bugzilla/show_bug.cgi?id=19002
Since the decision needs to be made at compilation time, we can not
test the linker version. The flag is off by default on ELF targets,
and on otherwise.
Repository:
rL LLVM
https://reviews.llvm.org/D32886
Files:
include/clang/Driver/Options.td
include/clang/Driver/SanitizerArgs.h
include/clang/Frontend/CodeGenOptions.def
lib/CodeGen/BackendUtil.cpp
lib/Driver/SanitizerArgs.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/asan-globals-gc.cpp
test/Driver/fsanitize.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32886.97900.patch
Type: text/x-patch
Size: 8645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170505/6050cc7e/attachment.bin>
More information about the cfe-commits
mailing list