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

Roger Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 16 14:48:14 PDT 2022


Roger 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
----------------
int3 wrote:
> ICF won't fold sections that are not marked `pure_instructions`
> ICF won't fold sections that are not marked `pure_instructions`

Could you comment this in the code itself?


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