[PATCH] D44457: [PDB] Add exclusive methods to derived symbol class

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


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

This commit adds two methods to the PDBSymboFunc class used in parsing symbols. getLineNumbers() is used to determine a Function symbol's declaration and getCompilandId() is used to initialize the SymbolContext field sc.comp_unit.


Repository:
  rL LLVM

https://reviews.llvm.org/D44457

Files:
  include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
  include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h
  include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h
  include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h
  lib/DebugInfo/PDB/PDBSymbolFunc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44457.138300.patch
Type: text/x-patch
Size: 3908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180314/cc4edc34/attachment.bin>


More information about the llvm-commits mailing list