[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
Mon Oct 17 14:41:17 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
----------------
Roger wrote:
> 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?
you mean in the test? sure
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