mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
[lldb][SymbolFileDWARF] Fix format specifier when logging FindDefinitionTypeForDWARFDeclContext
Before: ``` (arm64) /Users/michaelbuch/Git/lldb-build-main-modules/module.cache/295JG6LDUQX5Z/Clang_AST-39AVV87GST1ON.pcm: SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag=%s, name='DW_TAG_class_type') ``` After: ``` (arm64) /Users/michaelbuch/Git/lldb-build-main-modules/module.cache/295JG6LDUQX5Z/std-XGBT2D5Y2D6X.pcm: SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag=DW_TAG_class_type, name='reverse_iterator<std::__1::__wrap_iter<char *> >') ```
This commit is contained in:
@@ -2962,8 +2962,8 @@ SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(const DWARFDIE &die) {
|
||||
if (log) {
|
||||
GetObjectFile()->GetModule()->LogMessage(
|
||||
log,
|
||||
"SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag=%"
|
||||
"s, name='{0}')",
|
||||
"SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(tag={0}, "
|
||||
"name='{1}')",
|
||||
DW_TAG_value_to_name(tag), die.GetName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user