[PATCH] D79269: [NativeSession] Implement NativeSession::findSymbolByAddress.
Amy Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 1 17:17:43 PDT 2020
akhuang created this revision.
Herald added subscribers: llvm-commits, rupprecht, MaskRay, hiraditya, mgorny.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
akhuang edited reviewers, added: rnk, amccarth, labath; removed: jhenderson.
Herald added a reviewer: jhenderson.
akhuang removed a reviewer: jhenderson.
Herald added a reviewer: jhenderson.
akhuang updated this revision to Diff 261557.
akhuang added a comment.
akhuang updated this revision to Diff 261561.
akhuang edited the summary of this revision.
clean up
akhuang added a comment.
Fix some things, update description
This implements searching for function symbols and public symbols by address.
More specifically,
-Implements NativeSession::findSymbolByAddress for function symbols and public symbols. I think data symbols are also searched for, but that isn't implemented here.
-Adds classes for NativeFunctionSymbol and NativePublicSymbol
-Adds a '-use-native-pdb-reader' option to llvm-symbolizer, for testing
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79269
Files:
llvm/include/llvm/DebugInfo/PDB/DIA/DIASession.h
llvm/include/llvm/DebugInfo/PDB/IPDBSession.h
llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h
llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h
llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h
llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
llvm/lib/DebugInfo/PDB/CMakeLists.txt
llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
llvm/lib/DebugInfo/PDB/Native/NativeFunctionSymbol.cpp
llvm/lib/DebugInfo/PDB/Native/NativePublicSymbol.cpp
llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
llvm/test/tools/llvm-symbolizer/pdb/pdb-native.test
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
llvm/unittests/DebugInfo/PDB/NativeSessionTest.cpp
llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
llvm/utils/gn/secondary/llvm/lib/DebugInfo/PDB/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79269.261561.patch
Type: text/x-patch
Size: 32704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200502/667a2039/attachment-0001.bin>
More information about the llvm-commits
mailing list