Add support for emitting ARM file attributes.
[oota-llvm.git] / lib / Target / ARM / CMakeLists.txt
index 49120588e30e417b35c09d0bac957e66b235bac7..16d127e552cee70b7d9dc6d83ea30b41fb77b90b 100644 (file)
@@ -16,6 +16,7 @@ tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
 tablegen(ARMGenDecoderTables.inc -gen-arm-decoder)
 
 add_llvm_target(ARMCodeGen
+  ARMAsmBackend.cpp
   ARMAsmPrinter.cpp
   ARMBaseInstrInfo.cpp
   ARMBaseRegisterInfo.cpp
@@ -48,8 +49,3 @@ add_llvm_target(ARMCodeGen
   Thumb2RegisterInfo.cpp
   Thumb2SizeReduction.cpp
   )
-
-# The ARM CodeGen library depends on the AsmPrinter for just an
-# vtable, but GenLibDeps.pl is unable to detect it. So without this
-# the build fails with "undefined reference to `vtable for ..."
-target_link_libraries(LLVMARMCodeGen LLVMARMAsmPrinter)