summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2018-03-26 22:10:02 +0000
committerAaron Smith <aaron.smith@microsoft.com>2018-03-26 22:10:02 +0000
commit53708a5e9e60bfc5e7dc9c1135262d50f39454b4 (patch)
tree4f757af584ecb579a3616f887273bf3de40b7a42 /llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
parent44357eef97a47072c90f2930a12059aefa09a0e8 (diff)
downloadbcm5719-llvm-53708a5e9e60bfc5e7dc9c1135262d50f39454b4.tar.gz
bcm5719-llvm-53708a5e9e60bfc5e7dc9c1135262d50f39454b4.zip
[DebugInfoPDB] Add DIA implementation of addressForVA and addressForRVA
These are used in finding line numbers for PDBSymbolData llvm-svn: 328585
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
index d9f9552b7b9..1eaecc49761 100644
--- a/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
@@ -185,6 +185,16 @@ NativeSession::getSymbolById(uint32_t SymbolId) const {
: nullptr;
}
+bool NativeSession::addressForVA(uint64_t VA, uint32_t &Section,
+ uint32_t &Offset) const {
+ return false;
+}
+
+bool NativeSession::addressForRVA(uint32_t VA, uint32_t &Section,
+ uint32_t &Offset) const {
+ return false;
+}
+
std::unique_ptr<PDBSymbol>
NativeSession::findSymbolByAddress(uint64_t Address, PDB_SymType Type) const {
return nullptr;
OpenPOWER on IntegriCloud