diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp b/llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp index 64ffa776bbd6..2729e3236965 100644 --- a/llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp +++ b/llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp @@ -189,8 +189,8 @@ DIASession::getSymbolById(SymIndexId SymbolId) const { return PDBSymbol::create(*this, std::move(RawSymbol)); } -std::unique_ptr<PDBSymbol> -DIASession::findSymbolByAddress(uint64_t Address, PDB_SymType Type) const { +std::unique_ptr<PDBSymbol> DIASession::findSymbolByAddress(uint64_t Address, + PDB_SymType Type) { enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); CComPtr<IDiaSymbol> Symbol; @@ -207,7 +207,7 @@ DIASession::findSymbolByAddress(uint64_t Address, PDB_SymType Type) const { } std::unique_ptr<PDBSymbol> DIASession::findSymbolByRVA(uint32_t RVA, - PDB_SymType Type) const { + PDB_SymType Type) { enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); CComPtr<IDiaSymbol> Symbol; @@ -220,7 +220,7 @@ std::unique_ptr<PDBSymbol> DIASession::findSymbolByRVA(uint32_t RVA, std::unique_ptr<PDBSymbol> DIASession::findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, - PDB_SymType Type) const { + PDB_SymType Type) { enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); CComPtr<IDiaSymbol> Symbol; |