Skip to content

Commit df3589c

Browse files
committed
second try
1 parent c101dcd commit df3589c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/LanguageRuntime/Swift/LLDBMemoryReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ swift::remote::RemoteAbsolutePointer
123123
LLDBMemoryReader::resolvePointer(swift::remote::RemoteAddress address,
124124
uint64_t readValue) {
125125
auto isEffectivelyReadOnly = [](SectionSP section) {
126-
if ((section->GetPermissions() & ePermissionsWritable) != 0)
126+
if ((section->GetPermissions() & ePermissionsWritable) == 0)
127127
return true;
128128
if (section->GetName() == "__const")
129129
return true;

0 commit comments

Comments
 (0)