[all-commits] [llvm/llvm-project] b515d9: [hwasan][aarch64] Fix missing DT_AARCH64_BTI_PLT f...

Tulio Magno Quites Machado Filho via All-commits all-commits at lists.llvm.org
Fri Jun 21 16:57:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b515d9ea1e4365f156dad06a91e7b0f18b1b67c7
      https://github.com/llvm/llvm-project/commit/b515d9ea1e4365f156dad06a91e7b0f18b1b67c7
  Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/CMakeLists.txt

  Log Message:
  -----------
  [hwasan][aarch64] Fix missing DT_AARCH64_BTI_PLT flag (#95796)

When building hwasan on aarch64, the DT_AARCH64_BTI_PLT flag is missing
from libclang_rt.hwasan.so because some object files without
DT_AARCH64_BTI_PLT are linked in the final DSO.
These files are specific to riscv64 and x86_64, ending up with no
aarch64 code in them.

Avoid building and linking architecture-specific files unless the
architecture is listed in HWASAN_SUPPORTED_ARCH.



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