Size 0 sections can have symbols that have size 0. Build those sections
and symbols into the LinkGraph so they can be used properly if needed.
Details
Details
- Reviewers
lhames dexonsmith - Commits
- rGc737d4d20321: [JITLink][ELF] Don't skip sections of size 0
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h | ||
---|---|---|
319 | Some of those are rebase errors. Let me clean it up. |
I wish I could remember what "undefined" sections referred to here -- we'll no longer be skipping them.
This is still the right way to go though -- we can put the proper check in if/when we hit issues with this.