[PATCH] D136001: [lld-macho] Folded symbols should have size zero in linker map

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 17:18:36 PDT 2022


int3 added inline comments.


================
Comment at: lld/test/MachO/map-file.s:70
 #--- foo.s
-.section __TEXT,obj
+.section __TEXT,obj,regular,pure_instructions
 .globl _foo
----------------
ICF won't fold sections that are not marked `pure_instructions`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136001/new/

https://reviews.llvm.org/D136001



More information about the llvm-commits mailing list