summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo
diff options
context:
space:
mode:
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-10-22 07:18:08 +0000
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>2018-10-22 07:18:08 +0000
commitd4a82f6f742be375d608f0193565568ac93e98c6 (patch)
treeee5bd633796396d8d035c7e6ac256bae31781081 /llvm/unittests/DebugInfo
parent612278625e1dc1acb8b8124ef36cca02375f7aae (diff)
downloadbcm5719-llvm-d4a82f6f742be375d608f0193565568ac93e98c6.tar.gz
bcm5719-llvm-d4a82f6f742be375d608f0193565568ac93e98c6.zip
[PDB] Extend IPDBSession's interface to retrieve frame data
Summary: This patch just extends the `IPDBSession` interface to allow retrieving of frame data through it, and adds an implementation over DIA. It is needed for an implementation (for now with DIA) of the conversion from FPO programs to DWARF expressions mentioned in D53086. Reviewers: zturner, asmith, rnk Reviewed By: asmith Subscribers: mgorny, aprantl, JDevlieghere, llvm-commits Differential Revision: https://reviews.llvm.org/D53324 llvm-svn: 344886
Diffstat (limited to 'llvm/unittests/DebugInfo')
-rw-r--r--llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
index 948bde1bf72..007ea904085 100644
--- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
+++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
@@ -159,6 +159,10 @@ class MockSession : public IPDBSession {
std::unique_ptr<IPDBEnumSectionContribs> getSectionContribs() const override {
return nullptr;
}
+
+ std::unique_ptr<IPDBEnumFrameData> getFrameData() const override {
+ return nullptr;
+ }
};
class MockRawSymbol : public IPDBRawSymbol {
OpenPOWER on IntegriCloud