These symbols are declared early with the same value, so they otherwise
appear identical to ICF.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 22023 Build 22023: arc lint + arc unit
Event Timeline
Comment Actions
LGTM. Minor nits/suggestions.
lld/ELF/Symbols.h | ||
---|---|---|
119 | I think this should be added after the NeedsTocRestore below. Because this group of flags is | |
lld/test/ELF/linkerscript/Inputs/icf.script | ||
2 | I would avoid adding the input and just used echo "foo = 1; bar = 1" > %t.script instead, |
Comment Actions
LGTM
lld/ELF/ICF.cpp | ||
---|---|---|
255 | Please add a comment saying that linker-script-generated placeholder symbols look the same at this moment but they would have different values later. |
Please add a comment saying that linker-script-generated placeholder symbols look the same at this moment but they would have different values later.