gcc/libsanitizer/tsan
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
..
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
tsan_clock.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_clock.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_debugging.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_defs.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_dense_alloc.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_dispatch_defs.h
tsan_external.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_fd.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_fd.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_flags.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_flags.h
tsan_flags.inc libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_ignoreset.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_ignoreset.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_ilist.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_interceptors_libdispatch.cpp
tsan_interceptors_mac.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_interceptors_mach_vm.cpp
tsan_interceptors_posix.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_interceptors.h libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_interface_ann.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_interface_ann.h
tsan_interface_atomic.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_interface_java.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_interface_java.h
tsan_interface.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_interface.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_interface.inc libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_malloc_mac.cpp
tsan_md5.cpp
tsan_mman.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_mman.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_mutexset.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_mutexset.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_new_delete.cpp
tsan_platform_linux.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_platform_mac.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_platform_posix.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_platform_windows.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_platform.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_ppc_regs.h
tsan_preinit.cpp
tsan_report.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_report.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_rtl_aarch64.S
tsan_rtl_amd64.S libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_rtl_mips64.S
tsan_rtl_mutex.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_rtl_ppc64.S libsanitizer: Apply local patches 2021-10-06 13:08:47 -07:00
tsan_rtl_proc.cpp
tsan_rtl_report.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_rtl_s390x.S
tsan_rtl_thread.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_rtl.cpp libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_rtl.h libsanitizer: Merge with upstream 2021-10-06 13:08:47 -07:00
tsan_shadow.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_stack_trace.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_stack_trace.h
tsan_suppressions.cpp
tsan_suppressions.h
tsan_symbolize.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_symbolize.h
tsan_sync.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_sync.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_trace.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_update_shadow_word.inc libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_vector_clock.cpp libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00
tsan_vector_clock.h libsanitizer: Merge with upstream 2021-10-01 09:02:54 -07:00