git: e68356676e9c - stable/13 - Add libllvm and liblldb source files to enable WITH_ASAN build

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 17:55:22 UTC
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=e68356676e9c4e5a36dd20560f19845ae073dab3

commit e68356676e9c4e5a36dd20560f19845ae073dab3
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-01-27 21:51:08 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-01-30 17:53:51 +0000

    Add libllvm and liblldb source files to enable WITH_ASAN build
    
    This is another part of fixing the WITH_ASAN build. Some additional
    source files had to be added to libllvm and liblldb, since the ASan
    instrumentation causes symbols in those files to be referenced.
    
    Reported by:    markj
    PR:             276597
    MFC after:      3 days
    
    (cherry picked from commit 5c38ea60a04199dae2c6e5db82461e7275c7def6)
---
 lib/clang/liblldb/Makefile | 5 +++++
 lib/clang/libllvm/Makefile | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile
index 0dbcac7d3068..c32e4a387b2e 100644
--- a/lib/clang/liblldb/Makefile
+++ b/lib/clang/liblldb/Makefile
@@ -421,8 +421,13 @@ SRCS+=		Plugins/Language/ObjC/NSString.cpp
 SRCS+=		Plugins/Language/ObjC/ObjCLanguage.cpp
 SRCS+=		Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
 SRCS+=		Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
+SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
+SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
 SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
+SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
+SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
 SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
+SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
 SRCS+=		Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
 SRCS+=		Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
 SRCS+=		Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile
index 3ac81305df19..df39f2eb212e 100644
--- a/lib/clang/libllvm/Makefile
+++ b/lib/clang/libllvm/Makefile
@@ -666,6 +666,7 @@ SRCS_MIW+=	DebugInfo/Symbolize/Symbolize.cpp
 SRCS_MIW+=	Debuginfod/BuildIDFetcher.cpp
 SRCS_MIW+=	Debuginfod/Debuginfod.cpp
 SRCS_MIW+=	Debuginfod/HTTPClient.cpp
+SRCS_MIW+=	Debuginfod/HTTPServer.cpp
 SRCS_MIN+=	Demangle/DLangDemangle.cpp
 SRCS_MIN+=	Demangle/Demangle.cpp
 SRCS_MIN+=	Demangle/ItaniumDemangle.cpp
@@ -1645,6 +1646,7 @@ SRCS_MIW+=	TextAPI/ArchitectureSet.cpp
 SRCS_MIW+=	TextAPI/InterfaceFile.cpp
 SRCS_MIW+=	TextAPI/PackedVersion.cpp
 SRCS_MIW+=	TextAPI/Platform.cpp
+SRCS_MIW+=	TextAPI/Symbol.cpp
 SRCS_MIW+=	TextAPI/SymbolSet.cpp
 SRCS_MIW+=	TextAPI/Target.cpp
 SRCS_MIW+=	TextAPI/TextStub.cpp