So far it seems like the only test affected by this change is the one I
recently added for R_MIPS_JALR relocations since the other test cases that
use this function early (unknown-relocation-*) do not have a valid input
section for the relocation offset.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/ELF/Target.cpp | ||
---|---|---|
109 | If Out::bufferStart is a nullptr, does this if statement always succeed? |
lld/ELF/Target.cpp | ||
---|---|---|
109 | I don't believe so, since isec->data().data() will only be in range for the matching input section |
Comment Actions
Unit tests: pass. 60867 tests passed, 0 failed and 726 were skipped.
clang-format: pass.
Build artifacts: console-log.txt, CMakeCache.txt, test-results.xml, diff.json
If Out::bufferStart is a nullptr, does this if statement always succeed?