diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-01-27 21:51:08 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-01-30 17:53:25 +0000 |
commit | 6ccc51fd6f28af3a4516cc058135f519cbeb30e0 (patch) | |
tree | f452ea1e18cbc396f07707a760248988994f6d28 | |
parent | 277382e92885ebe2adf29c5052b7e2669c36b58e (diff) |
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)
-rw-r--r-- | lib/clang/liblldb/Makefile | 5 | ||||
-rw-r--r-- | lib/clang/libllvm/Makefile | 2 |
2 files changed, 7 insertions, 0 deletions
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 |