Address post follow up comment in D108016. Avoid creating isec for
LLVM segments since we are skipping over it.
Details
Details
- Reviewers
gkm int3 - Group Reviewers
Restricted Project - Commits
- rG08d55c5c0156: [lld-macho] Refactor parseSections to avoid creating isec on LLVM segments
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-format: please reformat the code
- // ld64 does not appear to emit contents from sections within the __LLVM - // segment. Symbols within those sections point to bitcode metadata - // instead of actual symbols. Global symbols within those sections could - // have the same name without causing duplicate symbol errors. Push an - // empty map to ensure indices line up for the remaining sections. - // TODO: Evaluate whether the bitcode metadata is needed. - subsections.push_back({}); + // ld64 does not appear to emit contents from sections within the __LLVM + // segment. Symbols within those sections point to bitcode metadata + // instead of actual symbols. Global symbols within those sections could4 diff lines are omitted. See full path.