[all-commits] [llvm/llvm-project] 641ae7: [NativeSession] Implement NativeSession::findSymbo...

Amy Huang via All-commits all-commits at lists.llvm.org
Wed May 13 09:40:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 641ae73f2eba1a4c52d8ddeefad44f26cc7530f3
      https://github.com/llvm/llvm-project/commit/641ae73f2eba1a4c52d8ddeefad44f26cc7530f3
  Author: Amy Huang <akhuang at google.com>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M llvm/include/llvm/DebugInfo/PDB/DIA/DIASession.h
    M llvm/include/llvm/DebugInfo/PDB/IPDBSession.h
    A llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
    A llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h
    M llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h
    M llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h
    M llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
    M llvm/lib/DebugInfo/PDB/CMakeLists.txt
    M llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
    A llvm/lib/DebugInfo/PDB/Native/NativeFunctionSymbol.cpp
    A llvm/lib/DebugInfo/PDB/Native/NativePublicSymbol.cpp
    M llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
    M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
    M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
    A llvm/test/tools/llvm-symbolizer/pdb/pdb-native.test
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
    M llvm/unittests/DebugInfo/PDB/NativeSessionTest.cpp
    M llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
    M llvm/utils/gn/secondary/llvm/lib/DebugInfo/PDB/BUILD.gn

  Log Message:
  -----------
  [NativeSession] Implement NativeSession::findSymbolByAddress.

Summary: 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 isn't
implemented in this patch.
-Adds classes for NativeFunctionSymbol and NativePublicSymbol
-Adds a '-use-native-pdb-reader' option to llvm-symbolizer, for testing
purposes.

Reviewers: rnk, amccarth, labath

Subscribers: mgorny, hiraditya, MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79269




More information about the All-commits mailing list