llvm-project/llvm/lib/IR/CMakeLists.txt
Kyuwon Cho 155e0cf5dc Reland [LTO] Demangle the function name in DiagnosticInfoDontCall message
Previously, dontcall attribute message on LTO prints the mangled function name.

Fixes https://github.com/llvm/llvm-project/issues/58933

Relanded with proper IR -> Demangle dependency.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D142844
2023-01-30 11:19:10 -08:00

86 lines
1.4 KiB
CMake

add_llvm_component_library(LLVMCore
AbstractCallSite.cpp
AsmWriter.cpp
Assumptions.cpp
Attributes.cpp
AutoUpgrade.cpp
BasicBlock.cpp
BuiltinGCs.cpp
Comdat.cpp
ConstantFold.cpp
ConstantRange.cpp
Constants.cpp
Core.cpp
DIBuilder.cpp
DataLayout.cpp
DebugInfo.cpp
DebugInfoMetadata.cpp
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp
DiagnosticPrinter.cpp
Dominators.cpp
EHPersonalities.cpp
FPEnv.cpp
Function.cpp
GCStrategy.cpp
GVMaterializer.cpp
Globals.cpp
IRBuilder.cpp
IRPrintingPasses.cpp
SSAContext.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp
IntrinsicInst.cpp
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMRemarkStreamer.cpp
LegacyPassManager.cpp
MDBuilder.cpp
Mangler.cpp
Metadata.cpp
Module.cpp
ModuleSummaryIndex.cpp
Operator.cpp
OptBisect.cpp
Pass.cpp
PassInstrumentation.cpp
PassManager.cpp
PassRegistry.cpp
PassTimingInfo.cpp
PrintPasses.cpp
ProfDataUtils.cpp
SafepointIRVerifier.cpp
ProfileSummary.cpp
PseudoProbe.cpp
ReplaceConstant.cpp
Statepoint.cpp
StructuralHash.cpp
Type.cpp
TypedPointerType.cpp
TypeFinder.cpp
Use.cpp
User.cpp
Value.cpp
ValueSymbolTable.cpp
VectorBuilder.cpp
Verifier.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
LINK_LIBS
${LLVM_PTHREAD_LIB}
DEPENDS
intrinsics_gen
LINK_COMPONENTS
BinaryFormat
Demangle
Remarks
Support
TargetParser
)