diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-03-26 22:13:22 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-03-26 22:13:22 +0000 |
commit | ed81a9db297f5079cee41c7b91187e86b2e1b730 (patch) | |
tree | a64c716bb0b87aaeb23debdda6164211618a92b8 /llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | |
parent | 53708a5e9e60bfc5e7dc9c1135262d50f39454b4 (diff) | |
download | bcm5719-llvm-ed81a9db297f5079cee41c7b91187e86b2e1b730.tar.gz bcm5719-llvm-ed81a9db297f5079cee41c7b91187e86b2e1b730.zip |
[DebugInfoPDB] Add DIA implementation of findLineNumbersByRVA
This method is used to find line numbers for PDBSymbolData
that have an invalid virtual address.
llvm-svn: 328586
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp index 314a0138542..0e439a6237d 100644 --- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp @@ -97,6 +97,10 @@ class MockSession : public IPDBSession { return nullptr; } std::unique_ptr<IPDBEnumLineNumbers> + findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const override { + return nullptr; + } + std::unique_ptr<IPDBEnumLineNumbers> findLineNumbersBySectOffset(uint32_t Section, uint32_t Offset, uint32_t Length) const override { return nullptr; |