Skip to content

Commit 8b0239f

Browse files
committed
[llvm-pdbutil] Pass filename when formatting setfile annotation
1 parent a13712e commit 8b0239f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ Error MinimalSymbolDumper::visitKnownRecord(CVSymbol &CVR, InlineSiteSym &IS) {
773773
else
774774
return MaybeFile.takeError();
775775
}
776-
P.format(" setfile {0} 0x{1}", utohexstr(FileOffset));
776+
P.format(" setfile {0} 0x{1}", Filename, utohexstr(FileOffset));
777777
break;
778778
}
779779

0 commit comments

Comments
 (0)