89e302b80c
gcc/ * asan.c (asan_emit_stack_protection): Don't pass local stack to asan_stack_malloc_[n] anymore. Check if asan_stack_malloc_[n] returned NULL and use local stack than. (asan_finish_file): Insert __asan_version_mismatch_check_v[n] call in addition to __asan_init. * sanitizer.def (BUILT_IN_ASAN_INIT): Rename to __asan_init. (BUILT_IN_ASAN_VERSION_MISMATCH_CHECK): Add new builtin call. * asan.h (asan_intercepted_p): Handle new string builtins. * ubsan.c (ubsan_use_new_style_p): New function. (ubsan_instrument_float_cast): If location is unknown, assign input_location to loc. Propagate loc to ubsan_create_data if ubsan_use_new_style_p returned true. config/ * bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with LSAN_OPTIONS=detect_leaks. gcc/testsuite/ * c-c++-common/ubsan/float-cast-overflow-10.c: Adjust test. * c-c++-common/ubsan/float-cast-overflow-8.c: Likewise. * c-c++-common/ubsan/float-cast-overflow-9.c: Likewise. * g++.dg/asan/default-options-1.C: Likewise. From-SVN: r229112 |
||
---|---|---|
.. | ||
acinclude.m4 | ||
acx.m4 | ||
asmcfi.m4 | ||
bitfields.m4 | ||
bootstrap-asan.mk | ||
bootstrap-debug-big.mk | ||
bootstrap-debug-ckovw.mk | ||
bootstrap-debug-lean.mk | ||
bootstrap-debug-lib.mk | ||
bootstrap-debug.mk | ||
bootstrap-lto-noplugin.mk | ||
bootstrap-lto.mk | ||
bootstrap-mpx.mk | ||
bootstrap-O1.mk | ||
bootstrap-O3.mk | ||
bootstrap-time.mk | ||
bootstrap-ubsan.mk | ||
ChangeLog | ||
codeset.m4 | ||
depstand.m4 | ||
dfp.m4 | ||
elf.m4 | ||
enable.m4 | ||
extensions.m4 | ||
futex.m4 | ||
gc++filt.m4 | ||
gcc-plugin.m4 | ||
gettext-sister.m4 | ||
gettext.m4 | ||
glibc21.m4 | ||
gthr.m4 | ||
gxx-include-dir.m4 | ||
iconv.m4 | ||
intdiv0.m4 | ||
inttypes_h.m4 | ||
inttypes-pri.m4 | ||
inttypes.m4 | ||
isl.m4 | ||
largefile.m4 | ||
lcmessage.m4 | ||
ld-symbolic.m4 | ||
lead-dot.m4 | ||
lib-ld.m4 | ||
lib-link.m4 | ||
lib-prefix.m4 | ||
libstdc++-raw-cxx.m4 | ||
lthostflags.m4 | ||
math.m4 | ||
mh-alpha-linux | ||
mh-cygwin | ||
mh-darwin | ||
mh-djgpp | ||
mh-mingw | ||
mh-pa | ||
mh-pa-hpux10 | ||
mh-ppc-aix | ||
mmap.m4 | ||
mt-alphaieee | ||
mt-d30v | ||
mt-gnu | ||
mt-mips16-compat | ||
mt-mips-elfoabi | ||
mt-mips-gnu | ||
mt-nios2-elf | ||
mt-ospace | ||
mt-sde | ||
mt-spu | ||
multi.m4 | ||
nls.m4 | ||
no-executables.m4 | ||
override.m4 | ||
picflag.m4 | ||
plugins.m4 | ||
po.m4 | ||
proginstall.m4 | ||
progtest.m4 | ||
sjlj.m4 | ||
stdint_h.m4 | ||
stdint.m4 | ||
target-posix | ||
tcl.m4 | ||
tls.m4 | ||
uintmax_t.m4 | ||
ulonglong.m4 | ||
unwind_ipinfo.m4 | ||
warnings.m4 | ||
weakref.m4 | ||
zlib.m4 |