[all-commits] [llvm/llvm-project] cf51bf: [lldb] Account for objc_debug_class_getNameRaw ret...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Apr 1 19:58:42 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf51bf77b070f63391bacada5e166bfec2616989
https://github.com/llvm/llvm-project/commit/cf51bf77b070f63391bacada5e166bfec2616989
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Log Message:
-----------
[lldb] Account for objc_debug_class_getNameRaw returning NULL
On macOS Catalina, calling objc_debug_class_getNameRaw on some of the
ISA pointers returns NULL, causing us to crash and unwind before reading
all the Objective-C classes. This does not happen on macOS Big Sur.
Account for that possibility and skip the class when that happens.
More information about the All-commits
mailing list