mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 05:26:07 +00:00

process, perform a number of refactorings: - Move MiscNameMangler member functions to MangleContext - Remove GlobalDecl dependency from MangleContext - Make MangleContext abstract and move Itanium/Microsoft functionality to their own classes/files - Implement ASTContext::createMangleContext and have CodeGen use it No (intended) functionality change. llvm-svn: 123386
45 lines
819 B
CMake
45 lines
819 B
CMake
set(LLVM_NO_RTTI 1)
|
|
|
|
set(LLVM_USED_LIBS clangBasic clangAST clangFrontend)
|
|
|
|
add_clang_library(clangCodeGen
|
|
BackendUtil.cpp
|
|
CGBlocks.cpp
|
|
CGBuiltin.cpp
|
|
CGCall.cpp
|
|
CGClass.cpp
|
|
CGCXX.cpp
|
|
CGCXXABI.cpp
|
|
CGDebugInfo.cpp
|
|
CGDecl.cpp
|
|
CGDeclCXX.cpp
|
|
CGException.cpp
|
|
CGExpr.cpp
|
|
CGExprAgg.cpp
|
|
CGExprComplex.cpp
|
|
CGExprConstant.cpp
|
|
CGExprCXX.cpp
|
|
CGExprScalar.cpp
|
|
CGObjC.cpp
|
|
CGObjCGNU.cpp
|
|
CGObjCMac.cpp
|
|
CGRecordLayoutBuilder.cpp
|
|
CGRTTI.cpp
|
|
CGStmt.cpp
|
|
CGTemporaries.cpp
|
|
CGVTables.cpp
|
|
CGVTT.cpp
|
|
CodeGenAction.cpp
|
|
CodeGenFunction.cpp
|
|
CodeGenModule.cpp
|
|
CodeGenTBAA.cpp
|
|
CodeGenTypes.cpp
|
|
ItaniumCXXABI.cpp
|
|
MicrosoftCXXABI.cpp
|
|
ModuleBuilder.cpp
|
|
TargetInfo.cpp
|
|
)
|
|
|
|
add_dependencies(clangCodeGen ClangAttrClasses ClangAttrList ClangDeclNodes
|
|
ClangStmtNodes)
|