mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 05:25:53 +00:00
add missing filename!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98cdab53c3
commit
49f618a1e4
@ -2616,6 +2616,8 @@ void DwarfDebug::emitDebugLines() {
|
|||||||
std::pair<unsigned, unsigned> SrcID =
|
std::pair<unsigned, unsigned> SrcID =
|
||||||
getSourceDirectoryAndFileIds(LineInfo.getSourceID());
|
getSourceDirectoryAndFileIds(LineInfo.getSourceID());
|
||||||
Asm->OutStreamer.AddComment(Twine(getSourceDirectoryName(SrcID.first)) +
|
Asm->OutStreamer.AddComment(Twine(getSourceDirectoryName(SrcID.first)) +
|
||||||
|
"/" +
|
||||||
|
Twine(getSourceFileName(SrcID.second)) +
|
||||||
":" + Twine(LineInfo.getLine()));
|
":" + Twine(LineInfo.getLine()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user