summaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/CMakeLists.txt1
-rw-r--r--lib/Target/X86/MCTargetDesc/Makefile (renamed from lib/Target/X86/TargetDesc/Makefile)0
-rw-r--r--lib/Target/X86/MCTargetDesc/X86TargetDesc.cpp (renamed from lib/Target/X86/TargetDesc/X86TargetDesc.cpp)0
-rw-r--r--lib/Target/X86/MCTargetDesc/X86TargetDesc.h (renamed from lib/Target/X86/TargetDesc/X86TargetDesc.h)0
-rw-r--r--lib/Target/X86/Makefile2
-rw-r--r--lib/Target/X86/X86.h4
6 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt
index 5e0c84f..7237ed8 100644
--- a/lib/Target/X86/CMakeLists.txt
+++ b/lib/Target/X86/CMakeLists.txt
@@ -61,5 +61,6 @@ add_llvm_target(X86CodeGen ${sources})
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
add_subdirectory(InstPrinter)
+add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)
add_subdirectory(Utils)
diff --git a/lib/Target/X86/TargetDesc/Makefile b/lib/Target/X86/MCTargetDesc/Makefile
index b19774e..b19774e 100644
--- a/lib/Target/X86/TargetDesc/Makefile
+++ b/lib/Target/X86/MCTargetDesc/Makefile
diff --git a/lib/Target/X86/TargetDesc/X86TargetDesc.cpp b/lib/Target/X86/MCTargetDesc/X86TargetDesc.cpp
index 8d61745..8d61745 100644
--- a/lib/Target/X86/TargetDesc/X86TargetDesc.cpp
+++ b/lib/Target/X86/MCTargetDesc/X86TargetDesc.cpp
diff --git a/lib/Target/X86/TargetDesc/X86TargetDesc.h b/lib/Target/X86/MCTargetDesc/X86TargetDesc.h
index d31f301..d31f301 100644
--- a/lib/Target/X86/TargetDesc/X86TargetDesc.h
+++ b/lib/Target/X86/MCTargetDesc/X86TargetDesc.h
diff --git a/lib/Target/X86/Makefile b/lib/Target/X86/Makefile
index 9cd17ee..2102db7 100644
--- a/lib/Target/X86/Makefile
+++ b/lib/Target/X86/Makefile
@@ -21,6 +21,6 @@ BUILT_SOURCES = X86GenRegisterNames.inc X86GenRegisterDesc.inc \
X86GenCallingConv.inc X86GenSubtarget.inc \
X86GenEDInfo.inc
-DIRS = InstPrinter AsmParser Disassembler TargetInfo TargetDesc Utils
+DIRS = InstPrinter AsmParser Disassembler TargetInfo MCTargetDesc Utils
include $(LEVEL)/Makefile.common
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h
index ec78d48..896bf0a 100644
--- a/lib/Target/X86/X86.h
+++ b/lib/Target/X86/X86.h
@@ -84,11 +84,9 @@ MCObjectWriter *createX86MachObjectWriter(raw_ostream &OS,
uint32_t CPUType,
uint32_t CPUSubtype);
-extern Target TheX86_32Target, TheX86_64Target;
-
} // End llvm namespace
-#include "TargetDesc/X86TargetDesc.h"
+#include "MCTargetDesc/X86TargetDesc.h"
// Defines symbolic names for the X86 instructions.
//