[PATCH] D96035: [dsymutil][DWARFlinker] implement separate multi-thread processing for compile units.
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 4 16:24:01 PST 2022
clayborg added a comment.
So an easy detection method to not move types that are defined in an implementation file would be if a type is DW_AT_decl_file matches the DW_TAG_compile_unit source file, then don't move it. If the type's DW_AT_decl_file doesn't match, that put that type into the "__type_table" DW_TAG_compile_unit.
Another way to know if a type should be moved to the "__type_table" would be to detect if the type is defined multiple times, and if it isn't don't move it. If it is, then move it. Not sure how easy that would be to detect with your current codebase though.
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