[all-commits] [llvm/llvm-project] 5ff8c0: [AArch64] Bugfix when using execute-only and memta...

Csanád Hajdú via All-commits all-commits at lists.llvm.org
Tue Apr 1 00:35:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ff8c036063d83c6eff495de7709b12875113d62
      https://github.com/llvm/llvm-project/commit/5ff8c036063d83c6eff495de7709b12875113d62
  Author: Csanád Hajdú <csanad.hajdu at arm.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
    A llvm/test/MC/AArch64/execute-only-memtag.ll

  Log Message:
  -----------
  [AArch64] Bugfix when using execute-only and memtag sanitizer together (#133084)

Support for execute-only code generation (#125687) introduced a bug in
the case where the memtag sanitizer is used in a module containing a mix
of execute-only and non-execute-only functions.

The bug is caused by using `return` instead of `break` to short-circuit
a loop, which meant that the rest of the function dealing with memtag
sanitizer logic wasn't run.



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