[PATCH] D42443: [SymbolFilePDB] Add support for function symbols

Aaron Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 14:58:06 PST 2018


asmith created this revision.
asmith added reviewers: zturner, lldb-commits.
Herald added a subscriber: llvm-commits.

This is combination of following changes,

- Resolve function symbols in PDB symbol file. `lldb-test symbols` will display information about function symbols.

- Implement SymbolFilePDB::FindFunctions methods. On lldb console, searching function symbol by name and by regular expression are both available.

- Create lldb type for PDBSymbolFunc.

- Add test case. In the test, multiple objects are linked. Tests are added to check if functions with same name but from different sources can be resolved correctly.


Repository:
  rL LLVM

https://reviews.llvm.org/D42443

Files:
  lit/SymbolFile/PDB/Inputs/FuncSymbols.cpp
  lit/SymbolFile/PDB/Inputs/FuncSymbolsTestMain.cpp
  lit/SymbolFile/PDB/Inputs/SimpleTypesTest.cpp
  lit/SymbolFile/PDB/func-symbols.test
  source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
  source/Plugins/SymbolFile/PDB/PDBASTParser.h
  source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  source/Plugins/SymbolFile/PDB/SymbolFilePDB.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42443.131146.patch
Type: text/x-patch
Size: 41757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180123/b8d0265e/attachment.bin>


More information about the llvm-commits mailing list