tablegen(ARMGenDecoderTables.inc -gen-arm-decoder)
add_llvm_target(ARMCodeGen
+ ARMAsmBackend.cpp
ARMAsmPrinter.cpp
ARMBaseInstrInfo.cpp
ARMBaseRegisterInfo.cpp
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)