[all-commits] [llvm/llvm-project] 7b3407: [tsan][aarch64] Fix branch protection in intercept...

Tulio Magno Quites Machado Filho via All-commits all-commits at lists.llvm.org
Mon Jul 1 06:24:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b34070eb4913f2733c3c6d19091d19d92c195d7
      https://github.com/llvm/llvm-project/commit/7b34070eb4913f2733c3c6d19091d19d92c195d7
  Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_rtl_aarch64.S

  Log Message:
  -----------
  [tsan][aarch64] Fix branch protection in interceptors (#95839)

Start functions with BTI in order to identify the function as a valid
branch target.
Also add the BTI marker to tsan_rtl_aarch64.S.

With this patch, libclang_rt.tsan.so can now be generated with
DT_AARCH64_BTI_PLT when built with -mbranch-protection=standard.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list