re PR sanitizer/84250 (Symbol collision when using both Address and Undefined Behavio...
authorMaxim Ostapenko <m.ostapenko@samsung.com>
Wed, 4 Jul 2018 19:49:06 +0000 (19:49 +0000)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Wed, 4 Jul 2018 19:49:06 +0000 (22:49 +0300)
commitca8dd9f2745d6931f70b7a5f7e46f8e2032d5912
tree05ab9d3e7c12ed003b81a038bb975000b4a57d80
parenta617812f148c71209a94f33879b13fa603c6103c
re PR sanitizer/84250 (Symbol collision when using both Address and Undefined Behavior sanitizers (-fsanitize=address,undefined))

gcc/

2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>

PR sanitizer/84250
* config/gnu-user.h (LIBASAN_EARLY_SPEC): Pass -lstdc++ for static
libasan.
* gcc.c: Do not pass LIBUBSAN_SPEC if ASan is enabled with UBSan.

libsanitizer/

2018-07-04  Maxim Ostapenko  <m.ostapenko@samsung.com>

PR sanitizer/84250
* Makefile.am: Reorder libs.
* Makefile.in: Regenerate.
* asan/Makefile.am: Define DCAN_SANITIZE_UB=1, add dependancy from
libsanitizer_ubsan.la.
* asan/Makefile.in: Regenerate.
* ubsan/Makefile.am: Define new libsanitizer_ubsan.la library.
* ubsan/Makefile.in: Regenerate.

From-SVN: r262421
gcc/ChangeLog
gcc/config/gnu-user.h
gcc/gcc.c
libsanitizer/ChangeLog
libsanitizer/Makefile.am
libsanitizer/Makefile.in
libsanitizer/asan/Makefile.am
libsanitizer/asan/Makefile.in
libsanitizer/ubsan/Makefile.am
libsanitizer/ubsan/Makefile.in