config/ * bootstrap-asan.mk: Replace LSAN_OPTIONS=detect_leaks=0 with ASAN_OPTIONS=detect_leaks=0:use_odr_indicator=1. gcc/ * asan.c (asan_global_struct): Refactor. (create_odr_indicator): New function. (asan_needs_odr_indicator_p): Likewise. (is_odr_indicator): Likewise. (asan_add_global): Introduce odr_indicator_ptr. Pass it into global's constructor. (asan_protect_global): Do not protect odr indicators. gcc/c-family/ * c-attribs.c (asan odr indicator): New attribute. (handle_asan_odr_indicator_attribute): New function. gcc/testsuite/ * c-c++-common/asan/no-redundant-odr-indicators-1.c: New test. From-SVN: r243153
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
aggressive-opts.c | Loading commit data... | |
asan-interface-1.c | Loading commit data... | |
attrib-1.c | Loading commit data... | |
bitfield-1.c | Loading commit data... | |
bitfield-2.c | Loading commit data... | |
bitfield-3.c | Loading commit data... | |
bitfield-4.c | Loading commit data... | |
bitfield-5.c | Loading commit data... | |
clone-test-1.c | Loading commit data... | |
force-inline-opt0-1.c | Loading commit data... | |
global-overflow-1.c | Loading commit data... | |
halt_on_error-1.c | Loading commit data... | |
halt_on_error-2.c | Loading commit data... | |
heap-overflow-1.c | Loading commit data... | |
inc.c | Loading commit data... | |
instrument-with-calls-1.c | Loading commit data... | |
instrument-with-calls-2.c | Loading commit data... | |
instrument-with-calls-3.c | Loading commit data... | |
kasan-recover-1.c | Loading commit data... | |
kasan-recover-2.c | Loading commit data... | |
memcmp-1.c | Loading commit data... | |
memcmp-2.c | Loading commit data... | |
misalign-1.c | Loading commit data... | |
misalign-2.c | Loading commit data... | |
no-asan-check-glob.c | Loading commit data... | |
no-asan-globals.c | Loading commit data... | |
no-asan-stack.c | Loading commit data... | |
no-instrument-reads.c | Loading commit data... | |
no-instrument-writes.c | Loading commit data... | |
no-redundant-instrumentation-1.c | Loading commit data... | |
no-redundant-instrumentation-10.c | Loading commit data... | |
no-redundant-instrumentation-11.c | Loading commit data... | |
no-redundant-instrumentation-12.c | Loading commit data... | |
no-redundant-instrumentation-13.c | Loading commit data... | |
no-redundant-instrumentation-14.c | Loading commit data... | |
no-redundant-instrumentation-15.c | Loading commit data... | |
no-redundant-instrumentation-3.c | Loading commit data... | |
no-redundant-instrumentation-4.c | Loading commit data... | |
no-redundant-instrumentation-5.c | Loading commit data... | |
no-redundant-instrumentation-6.c | Loading commit data... | |
no-redundant-instrumentation-7.c | Loading commit data... | |
no-redundant-instrumentation-8.c | Loading commit data... | |
no-redundant-odr-indicators-1.c | Loading commit data... | |
no-use-after-return.c | Loading commit data... | |
null-deref-1.c | Loading commit data... | |
pr56330.c | Loading commit data... | |
pr59029.c | Loading commit data... | |
pr59063-1.c | Loading commit data... | |
pr59063-2.c | Loading commit data... | |
pr61530.c | Loading commit data... | |
pr62089.c | Loading commit data... | |
pr62140-1.c | Loading commit data... | |
pr62140-2.c | Loading commit data... | |
pr63316.c | Loading commit data... | |
pr63638.c | Loading commit data... | |
pr63888.c | Loading commit data... | |
pr64820.c | Loading commit data... | |
pr70541.c | Loading commit data... | |
pr70712.c | Loading commit data... | |
pr71480.c | Loading commit data... | |
red-align-1.c | Loading commit data... | |
red-align-2.c | Loading commit data... | |
rlimit-mmap-test-1.c | Loading commit data... | |
sanitize-all-1.c | Loading commit data... | |
sanity-check-pure-c-1.c | Loading commit data... | |
shadow-offset-1.c | Loading commit data... | |
sleep-before-dying-1.c | Loading commit data... | |
stack-overflow-1.c | Loading commit data... | |
strip-path-prefix-1.c | Loading commit data... | |
strlen-overflow-1.c | Loading commit data... | |
strncpy-overflow-1.c | Loading commit data... | |
swapcontext-test-1.c | Loading commit data... | |
use-after-free-1.c | Loading commit data... | |
use-after-return-1.c | Loading commit data... | |
user-section-1.c | Loading commit data... | |
user-section-2.c | Loading commit data... | |
user-section-3.c | Loading commit data... |