summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2018-03-07 00:33:09 +0000
committerAaron Smith <aaron.smith@microsoft.com>2018-03-07 00:33:09 +0000
commit25409ddf2a053bd179f53e450a926bb5650f09af (patch)
tree02cb5b95181cc6b8b5475e397b98baceff8236a7 /llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
parent6a58efdf76ccd0453555bc5c7a2236c69696885b (diff)
downloadbcm5719-llvm-25409ddf2a053bd179f53e450a926bb5650f09af.tar.gz
bcm5719-llvm-25409ddf2a053bd179f53e450a926bb5650f09af.zip
[DebugInfoPDB] Add DIA implementation for getSrcLineOnTypeDefn
Summary: This helps to determine the line number for a PDB type with definition Reviewers: zturner, llvm-commits, rnk Reviewed By: zturner Subscribers: rengolin, JDevlieghere Differential Revision: https://reviews.llvm.org/D44119 llvm-svn: 326857
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
index 9a1e9cb4292..fbe334823e0 100644
--- a/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/DebugInfo/PDB/IPDBLineNumber.h"
#include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
#include "llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h"
@@ -278,6 +279,11 @@ std::string NativeRawSymbol::getSourceFileName() const {
return {};
}
+std::unique_ptr<IPDBLineNumber>
+NativeRawSymbol::getSrcLineOnTypeDefn() const {
+ return nullptr;
+}
+
uint32_t NativeRawSymbol::getStride() const {
return 0;
}
OpenPOWER on IntegriCloud