summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-11-29 12:48:25 +0100
committerPavel Labath <pavel@labath.sk>2019-11-29 12:48:25 +0100
commit656a8123deed31d2d7aee313e87911dc153fa6d3 (patch)
tree25564e92af548de1678675b3a7174fdead5689b8
parentd752b75d7fce2a77bb7656d33d2aa062372dc014 (diff)
downloadbcm5719-llvm-656a8123deed31d2d7aee313e87911dc153fa6d3.tar.gz
bcm5719-llvm-656a8123deed31d2d7aee313e87911dc153fa6d3.zip
[lldb] Fix windows build for 38870af
-rw-r--r--lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
index 0470394d425..e8a8690c1ff 100644
--- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -109,7 +109,7 @@ protected:
const FileSpec &spec) const {
for (size_t i = 0; i < sc_list.GetSize(); ++i) {
const SymbolContext &sc = sc_list[i];
- if (FileSpecMatchesAsBaseOrFull(*sc.comp_unit, spec))
+ if (FileSpecMatchesAsBaseOrFull(sc.comp_unit->GetPrimaryFile(), spec))
return true;
}
return false;
OpenPOWER on IntegriCloud