[all-commits] [llvm/llvm-project] b9a134: [XRay] Mark Mach-O xray_instr_map and xray_fn_idx ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jun 18 19:30:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a134aa629de23a1dcf4be32e946e4e308fc64d
      https://github.com/llvm/llvm-project/commit/b9a134aa629de23a1dcf4be32e946e4e308fc64d
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-18 (Sun, 18 Jun 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/AArch64/xray-attribute-instrumentation.ll
    M llvm/test/CodeGen/AArch64/xray-omit-function-index.ll
    M llvm/test/CodeGen/AArch64/xray-partial-instrumentation-skip-entry.ll
    M llvm/test/CodeGen/AArch64/xray-partial-instrumentation-skip-exit.ll
    M llvm/test/CodeGen/AArch64/xray-tail-call-sled.ll
    M llvm/test/CodeGen/ARM/xray-armv6-attribute-instrumentation.ll
    M llvm/test/CodeGen/ARM/xray-armv7-attribute-instrumentation.ll
    M llvm/test/CodeGen/X86/xray-attribute-instrumentation.ll
    M llvm/test/CodeGen/X86/xray-partial-instrumentation-skip-entry.ll
    M llvm/test/CodeGen/X86/xray-partial-instrumentation-skip-exit.ll
    M llvm/test/CodeGen/X86/xray-tail-call-sled.ll

  Log Message:
  -----------
  [XRay] Mark Mach-O xray_instr_map and xray_fn_idx as S_ATTR_LIVE_SUPPORT

Add the `S_ATTR_LIVE_SUPPORT` attribute to the sections so that `ld -dead_strip`
will retain subsections that reference live functions, once we we add linker
private "l" symbols as atoms.




More information about the All-commits mailing list