[lldb][AppleObjCDeclVendor] Fix format specifiers when printing log (#172263) This was causing a crash when enabling the expression log: ``` 4 LLDB 0x1376d68d0 llvm::formatv_object_base::parseFormatString(llvm::StringRef, unsigned long, bool) + 532 5 LLDB 0x13776d838 llvm::formatv_object_base::format(llvm::raw_ostream&) const + 84 6 LLDB 0x13776d7d4 llvm::raw_ostream::operator<<(llvm::formatv_object_base const&) + 36 7 LLDB 0x1375f4980 lldb_private::Log::Format(llvm::StringRef, llvm::StringRef, llvm::formatv_object_base const&) + 164 8 LLDB 0x12f7b39f0 lldb_private::AppleObjCExternalASTSource::CompleteType(clang::TagDecl*) + 416 9 LLDB 0x12fa038dc lldb_private::ClangASTSource::FindExternalLexicalDecls(clang::DeclContext const*, llvm::function_ref<bool (clang::Decl::Kind)>, llvm::SmallVectorImpl<clang::Decl*>&) + 1132 10 LLDB 0x135d94838 clang::ExternalASTSource::FindExternalLexicalDecls(clang::DeclContext const*, llvm::SmallVectorImpl<clang::Decl*>&) + 92 11 LLDB 0x135d94690 clang::DeclContext::LoadLexicalDeclsFromExternalStorage() const + 204 12 LLDB 0x135d95ca0 clang::DeclContext::buildLookup() + 308 13 LLDB 0x135d964b8 clang::DeclContext::lookupImpl(clang::DeclarationName, clang::DeclContext const*) const + 824 14 LLDB 0x135d96168 clang::DeclContext::lookup(clang::DeclarationName) const + 124 15 LLDB 0x134f093d4 clang::Sema::CheckImplicitSpecialMemberDeclaration(clang::Scope*, clang::FunctionDecl*) + 128 16 LLDB 0x134efb488 clang::Sema::DeclareImplicitDestructor(clang::CXXRecordDecl*) + 932 17 LLDB 0x1352ddf24 clang::Sema::LookupSpecialMember(clang::CXXRecordDecl*, clang::CXXSpecialMemberKind, bool, bool, bool, bool, bool)::$_0::operator()() const + 36 ```
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.