gcc/libsanitizer/asan
H.J. Lu a23653c6a6 libsanitizer: Add AM_CCASFLAGS to Makefile.am
commit 9069eb28d4
Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Date:   Fri Nov 17 22:34:50 2017 +0100

    Enable building libsanitizer with Intel CET

    libsanitizer/
            * acinclude.m4: Add enable.m4 and cet.m4.
            * Makefile.in: Regenerate.
            * asan/Makefile.am: Update AM_CXXFLAGS.
            * asan/Makefile.in: Regenerate.
            * configure: Likewise.
            * configure.ac: Set CET_FLAGS. Update EXTRA_CFLAGS,
            EXTRA_CXXFLAGS, EXTRA_ASFLAGS.
            * interception/Makefile.am: Update AM_CXXFLAGS.
            * interception/Makefile.in: Regenerate.
            * libbacktrace/Makefile.am: Update AM_CFLAGS, AM_CXXFLAGS.
            * libbacktrace/Makefile.in: Regenerate.
            * lsan/Makefile.am: Update AM_CXXFLAGS.
            * lsan/Makefile.in: Regenerate.
            * sanitizer_common/Makefile.am: Update AM_CXXFLAGS,
            AM_CCASFLAGS.
            * sanitizer_common/sanitizer_linux_x86_64.S: Include cet.h.
            Add _CET_ENDBR macro.
            * sanitizer_common/Makefile.in: Regenerate.
            * tsan/Makefile.am: Update AM_CXXFLAGS.
            * tsan/Makefile.in: Regenerate.
            * tsan/tsan_rtl_amd64.S Include cet.h. Add _CET_ENDBR macro.
            * ubsan/Makefile.am: Update AM_CXXFLAGS.
            * ubsan/Makefile.in: Regenerate.

failed to add EXTRA_ASFLAGS to AM_CCASFLAGS in all Makefile.am.  As
the result, CET aren't enabled in all assembly codes.

Add AM_CCASFLAGS to Makefile.am to compile assembly codes with $CET_FLAGS.

	PR sanitizer/102632
	* asan/Makefile.am (AM_CCASFLAGS): New.  Set to $(EXTRA_ASFLAGS).
	* hwasan/Makefile.am (AM_CCASFLAGS): Likewise.
	* interception/Makefile.am (AM_CCASFLAGS): Likewise.
	* lsan/Makefile.am (AM_CCASFLAGS): Likewise.
	* tsan/Makefile.am (AM_CCASFLAGS): Likewise.
	* ubsan/Makefile.am (AM_CCASFLAGS): Likewise.
	* asan/Makefile.in: Regenerate.
	* hwasan/Makefile.in: Likewise.
	* interception/Makefile.in: Likewise.
	* lsan/Makefile.in: Likewise.
	* tsan/Makefile.in: Likewise.
	* ubsan/Makefile.in: Likewise.
2021-10-08 06:17:01 -07:00
..
asan_activation_flags.inc
asan_activation.cpp
asan_activation.h
asan_allocator.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
asan_allocator.h libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
asan_debugging.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
asan_descriptions.cpp
asan_descriptions.h
asan_errors.cpp
asan_errors.h
asan_fake_stack.cpp
asan_fake_stack.h
asan_flags.cpp
asan_flags.h
asan_flags.inc
asan_fuchsia.cpp
asan_globals_win.cpp
asan_globals.cpp libsanitizer: Apply local patches 2021-10-06 13:08:47 -07:00
asan_init_version.h
asan_interceptors_memintrinsics.cpp
asan_interceptors_memintrinsics.h
asan_interceptors_vfork.S
asan_interceptors.cpp
asan_interceptors.h libsanitizer: Apply local patches 2021-10-06 13:08:47 -07:00
asan_interface_internal.h
asan_interface.inc
asan_internal.h
asan_linux.cpp
asan_lock.h
asan_mac.cpp
asan_malloc_linux.cpp
asan_malloc_mac.cpp
asan_malloc_win.cpp
asan_mapping_sparc64.h
asan_mapping.h libsanitizer: Apply local patches 2021-10-06 13:08:47 -07:00
asan_memory_profile.cpp
asan_new_delete.cpp
asan_poisoning.cpp
asan_poisoning.h
asan_posix.cpp
asan_preinit.cpp
asan_premap_shadow.cpp
asan_premap_shadow.h
asan_report.cpp
asan_report.h
asan_rtl.cpp
asan_scariness_score.h
asan_shadow_setup.cpp
asan_stack.cpp
asan_stack.h
asan_stats.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
asan_stats.h
asan_suppressions.cpp
asan_suppressions.h
asan_thread.cpp
asan_thread.h
asan_win_dll_thunk.cpp
asan_win_dynamic_runtime_thunk.cpp
asan_win_weak_interception.cpp
asan_win.cpp
libtool-version libsanitizer: Bump asan/tsan versions 2021-10-01 09:02:54 -07:00
Makefile.am libsanitizer: Add AM_CCASFLAGS to Makefile.am 2021-10-08 06:17:01 -07:00
Makefile.in libsanitizer: Add AM_CCASFLAGS to Makefile.am 2021-10-08 06:17:01 -07:00