[PATCH] D96035: [dsymutil][DWARFlinker] implement separate multi-thread processing for compile units.
DreamPiggy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 04:24:25 PDT 2022
dreampiggy added a comment.
Hi.
I try to pick the code for testing the performance. However, I found the new dwarflinker-next, will crash at some specify code path
See crash stacktrace here:
F23924676: screenshot-20220727-192355.png <https://reviews.llvm.org/F23924676>
I try to debug and found the reason:
during analysis stage, `NamesGenerator.assignName(CU, DieIdx)` can not assign a valid name for some unhandled DIEEntry tag, like
+ `DW_TAG_thrown_type`
This will cause the final `CU.TypeInfo.TypeName` be null, and crash at the `TypePool.insert` during ODR stage
Any solution for this ? Should we just mark it as `bad type` with the raw hex ? Or add some more handle cases ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96035/new/
https://reviews.llvm.org/D96035
More information about the llvm-commits
mailing list