[all-commits] [llvm/llvm-project] a76cf0: [HWASan] fix missing BTI attribute on personality ...

Florian Mayer via All-commits all-commits at lists.llvm.org
Thu May 8 14:02:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a76cf062a57097ad7971325551854bd5f3d38d94
      https://github.com/llvm/llvm-project/commit/a76cf062a57097ad7971325551854bd5f3d38d94
  Author: Florian Mayer <fmayer at google.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    A llvm/test/Instrumentation/HWAddressSanitizer/personality-bti.ll

  Log Message:
  -----------
  [HWASan] fix missing BTI attribute on personality function thunks (#139138)

This used to work because the BTI attribute was taken from the module in
the CodeGen.

e15d67cfc2e5775cc79281aa860f3ad3be628f39 changed that to actually look
at the function attributes. This led to crashes for BTI, because we did
not emit the proper landing pads for the thunk.



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