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

Aaron Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 22:51:46 PDT 2018


asmith created this revision.
asmith added reviewers: zturner, rnk, llvm-commits.

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().


Repository:
  rL LLVM

https://reviews.llvm.org/D44458

Files:
  include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
  lib/DebugInfo/PDB/PDBSymbolCompiland.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44458.138301.patch
Type: text/x-patch
Size: 4754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180314/96f15594/attachment.bin>


More information about the llvm-commits mailing list