Skip to content

Commit 4f874c8

Browse files
Fixup! address review comments
1 parent e91140e commit 4f874c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ Status GDBRemoteCommunicationClient::GetMemoryRegionInfo(
16381638
for (llvm::StringRef entry : llvm::split(value, ',')) {
16391639
if (entry == "stack")
16401640
region_info.SetIsStackMemory(MemoryRegionInfo::eYes);
1641-
if (entry == "heap")
1641+
else if (entry == "heap")
16421642
region_info.SetIsStackMemory(MemoryRegionInfo::eNo);
16431643
}
16441644
} else if (name == "error") {

0 commit comments

Comments
 (0)