apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.09k stars 320 forks source link

[lldb] Log module after bindExtensions #8918

Closed augusto2112 closed 1 week ago

augusto2112 commented 1 week ago

The expressions logs was crashing in ExtensionDecl::getExtendedNominal because it was reaching an llvm_unreachable with the following message: "Extension must have already been bound (by bindExtensions)".

Move the log call to right after the call to bindExtensions.

rdar://128095039 (cherry picked from commit 06a49a53e16fef8e6acf5c3cc9b6f10fdb835186)