diff options
| author | Aaron Smith <aaron.smith@microsoft.com> | 2018-02-23 00:02:27 +0000 |
|---|---|---|
| committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-02-23 00:02:27 +0000 |
| commit | 89a19ac38d377e880b26dfacf968951fa4108a8f (patch) | |
| tree | 68239f67bd03a9b00cc806378349f818cdf2c537 /llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp | |
| parent | ba02f3f2423ce5a2637e3b45298f9d016da7aca7 (diff) | |
| download | bcm5719-llvm-89a19ac38d377e880b26dfacf968951fa4108a8f.tar.gz bcm5719-llvm-89a19ac38d377e880b26dfacf968951fa4108a8f.zip | |
[PDB] Check the result of setLoadAddress()
Summary: Change setLoadAddress() to return true or false on failure.
Reviewers: zturner, llvm-commits
Reviewed By: zturner
Differential Revision: https://reviews.llvm.org/D43638
llvm-svn: 325843
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp index b01c2b54796..b5875a01807 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp @@ -165,7 +165,7 @@ SymIndexId NativeSession::findSymbolByTypeIndex(codeview::TypeIndex Index) { uint64_t NativeSession::getLoadAddress() const { return 0; } -void NativeSession::setLoadAddress(uint64_t Address) {} +bool NativeSession::setLoadAddress(uint64_t Address) { return false; } std::unique_ptr<PDBSymbolExe> NativeSession::getGlobalScope() { const auto Id = static_cast<SymIndexId>(SymbolCache.size()); |

