From ffc0e73046f737d75e0a62b3a83ef19bcef111e3 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 9 Jul 2011 05:47:46 +0000 Subject: Change createAsmParser to take a MCSubtargetInfo instead of triple, CPU, and feature string. Parsing some asm directives can change subtarget state (e.g. .code 16) and it must be reflected in other modules (e.g. MCCodeEmitter). That is, the MCSubtargetInfo instance must be shared. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134795 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Target/CMakeLists.txt') diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index f982316..9c684a2 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -54,3 +54,9 @@ configure_file( ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Disassemblers.def.in ${LLVM_BINARY_DIR}/include/llvm/Config/Disassemblers.def ) + +# Produce llvm/Config/MCSubtargetInfos.def +configure_file( + ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/MCSubtargetInfos.def.in + ${LLVM_BINARY_DIR}/include/llvm/Config/MCSubtargtInfos.def + ) -- cgit v1.1