Skip to content

Commit a9e3fcf

Browse files
authored
Merge pull request #9982 from augusto2112/dont-assert-mem-read
[lldb] Replace lldbassert with LLDB_LOG in LLDBMemoryReader
2 parents 461a7b5 + cbf9559 commit a9e3fcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,9 @@ LLDBMemoryReader::addModuleToAddressMap(ModuleSP module,
531531
(uint64_t)signedPointerStripper(
532532
swift::remote::RemoteAbsolutePointer("", module_end_address))
533533
.getOffset()) {
534-
lldbassert(false &&
535-
"LLDBMemoryReader module to address map ran into pointer "
536-
"authentication mask!");
534+
LLDB_LOG(GetLog(LLDBLog::Types),
535+
"[MemoryReader] module to address map ran into pointer "
536+
"authentication mask!");
537537
return {};
538538
}
539539
// The address for the next image is the next pointer aligned address

0 commit comments

Comments
 (0)