This patch is trying to fix the array index out of bounds error. I observed it in (https://reviews.llvm.org/harbormaster/unit/view/99638/).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Seems reasonable to me.
I assume one of your other changes includes the test coverage for this? Could you remove the failing test case from that change, and add this change as a child, with the removed test case included? That way, your fix has an associated test case from the start. In other words, I'd reorder your dependencies: first D82073 (minus failing test) then D82139 (with test).
llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml | ||
---|---|---|
558 ↗ | (On Diff #272012) | Do you need a {{$}} on the end of this line? If there's more output on the same line, the test will continue to pass. Alternatively, use --match-full-lines |
Comment Actions
Use --match-full-lines.
llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml | ||
---|---|---|
558 ↗ | (On Diff #272012) | Thanks! |
Comment Actions
I removed NFC from the subject: the patch is no longer NFC due to the code change. Please adjust your local commit (arc amend should do it)
Use empty()