Its a PR34648 which was a segfault that happened because
we stored pointers to elements in DenseMap.
When DenseMap grows such pointers are invalidated.
Solution implemented is to keep elements by pointer
and not by value.
Details
Details
- Reviewers
ruiu • rafael - Commits
- rGa4fcc49a8b90: Merging r313741: --------------------------------------------------------------…
rG94444b9a0778: [ELF] - Fix segfault when processing .eh_frame.
rLLD313741: [ELF] - Fix segfault when processing .eh_frame.
rL314860: Merging r313741:
rL313741: [ELF] - Fix segfault when processing .eh_frame.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
This is a pretty bad bug, I was a bit surprised that it doesn't crash except the situation described in https://bugs.llvm.org/show_bug.cgi?id=34648. It could have been silently creating corrupted outputs, I guess. It seems scary.