Skip to content

Commit 5991375

Browse files
author
git apple-llvm automerger
committed
Merge commit '81cc5d1c7d3f' from llvm.org/master into apple/master
2 parents 741c24b + 81cc5d1 commit 5991375

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,9 @@ ValueObjectSP ItaniumABILanguageRuntime::GetExceptionObjectForThread(
559559
modules.FindSymbolsWithNameAndType(
560560
ConstString("__cxa_current_exception_type"), eSymbolTypeCode, contexts);
561561
contexts.GetContextAtIndex(0, context);
562+
if (!context.symbol) {
563+
return {};
564+
}
562565
Address addr = context.symbol->GetAddress();
563566

564567
Status error;

0 commit comments

Comments
 (0)