This is an archive of the discontinued LLVM Phabricator instance.

[PDB] Add a method to get the full path of the source file for PDBSymbolCompiland
ClosedPublic

Authored by asmith on Mar 13 2018, 10:50 PM.

Details

Summary

Redefine PDBSymbolCompiland::getSourceFileName() to return the filename (w/o directory) of the source file that is used to compile the compiland. This is because the result returned previously is ambiguous. It could be the filename, relative path or full path of the source file.

Move the implementation of SymbolFilePDB::GetSourceFileNameForPDBCompiland() into a new method PDBSymbolCompiland::getSourceFileFullPath().

Diff Detail

Repository
rL LLVM

Event Timeline

asmith created this revision.Mar 13 2018, 10:50 PM
zturner accepted this revision.Mar 19 2018, 1:21 PM
This revision is now accepted and ready to land.Mar 19 2018, 1:21 PM
This revision was automatically updated to reflect the committed changes.