Skip to content

Commit 5d63284

Browse files
committed
src: fix build error with lldb 3.8
PR-URL: #109 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Fedor Indutny <[email protected]>
1 parent 557bb0f commit 5d63284

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/llscan.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ using lldb::SBCommandReturnObject;
2121
using lldb::SBDebugger;
2222
using lldb::SBError;
2323
using lldb::SBExpressionOptions;
24-
using lldb::SBMemoryRegionInfo;
25-
using lldb::SBMemoryRegionInfoList;
2624
using lldb::SBStream;
2725
using lldb::SBTarget;
2826
using lldb::SBValue;
@@ -905,8 +903,8 @@ void LLScan::ScanMemoryRanges(FindJSObjectsVisitor& v) {
905903
head = head->next_;
906904

907905
#else // LLDB_SBMemoryRegionInfoList_h_
908-
SBMemoryRegionInfoList memory_regions = process_.GetMemoryRegions();
909-
SBMemoryRegionInfo region_info;
906+
lldb::SBMemoryRegionInfoList memory_regions = process_.GetMemoryRegions();
907+
lldb::SBMemoryRegionInfo region_info;
910908

911909
for (uint32_t i = 0; i < memory_regions.GetSize(); ++i) {
912910
memory_regions.GetMemoryRegionAtIndex(i, region_info);

0 commit comments

Comments
 (0)