[llvm] [BOLT][DWARF] Updated DW_AT_comp_dir/DW_AT_dwo_name for DWO TUs. (PR #91486)
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 15:35:27 PDT 2024
================
@@ -384,6 +387,17 @@ class DIEBuilder {
bool deleteValue(DIEValueList *Die, dwarf::Attribute Attribute) {
return Die->deleteValue(Attribute);
}
+ /// Updates DWO Name and Compilation direcotry for Skeleton CU \p Unit.
+ std::string updateDWONameCompDir(DebugStrOffsetsWriter &StrOffstsWriter,
+ DebugStrWriter &StrWriter,
+ DWARFUnit &SkeletonCU,
+ std::optional<StringRef> DwarfOutputPath,
+ std::optional<StringRef> DWONameToUse);
+ /// Updates DWO Name and Compilation direcotry for Type Units.
----------------
dcci wrote:
`direcotry` -> `directory`
https://github.com/llvm/llvm-project/pull/91486
More information about the llvm-commits
mailing list