[all-commits] [llvm/llvm-project] a831a2: [lld] [MTE] Allow android note for static executab...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Mon Jan 8 02:22:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a831a21e4d8d41b044edaf61a90debb2ad756bda
      https://github.com/llvm/llvm-project/commit/a831a21e4d8d41b044edaf61a90debb2ad756bda
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Writer.cpp
    M lld/ELF/Writer.h
    M lld/test/ELF/aarch64-memtag-android-abi.s

  Log Message:
  -----------
  [lld] [MTE] Allow android note for static executables. (#77078)

Florian pointed out that we're accidentally eliding the Android note for
static executables, as it's guarded behind the "can have memtag globals"
conditional. Of course, memtag globals are unsupported for static
executables, but we should still allow static binaries to produce the
Android note (as that's the only way they get MTE).




More information about the All-commits mailing list