There is no need to write a local utility routine to find subprogram info if the...
[oota-llvm.git] / lib / MC / CMakeLists.txt
index e3cc536444e580ab3e8ea164f447c8be83b6eeec..9b650b6f53dd4222ac62e1f9b567fdc1afa2da91 100644 (file)
@@ -1,10 +1,52 @@
 add_llvm_library(LLVMMC
-  MCAsmLexer.cpp
-  MCAsmParser.cpp
+  ELFObjectWriter.cpp
+  MCAsmInfo.cpp
+  MCAsmInfoCOFF.cpp
+  MCAsmInfoDarwin.cpp
   MCAsmStreamer.cpp
+  MCAssembler.cpp
+  MCCodeEmitter.cpp
+  MCCodeGenInfo.cpp
   MCContext.cpp
+  MCDisassembler.cpp
+  MCELF.cpp
+  MCELFObjectTargetWriter.cpp
+  MCELFStreamer.cpp
+  MCExpr.cpp
+  MCInst.cpp
+  MCInstPrinter.cpp
+  MCInstrAnalysis.cpp
+  MCLabel.cpp
+  MCDwarf.cpp
+  MCLoggingStreamer.cpp
+  MCMachOStreamer.cpp
+  MCMachObjectTargetWriter.cpp
+  MCNullStreamer.cpp
+  MCObjectFileInfo.cpp
+  MCObjectStreamer.cpp
+  MCObjectWriter.cpp
+  MCPureStreamer.cpp
   MCSection.cpp
+  MCSectionCOFF.cpp
+  MCSectionELF.cpp
   MCSectionMachO.cpp
   MCStreamer.cpp
-  TargetAsmParser.cpp
+  MCSubtargetInfo.cpp
+  MCSymbol.cpp
+  MCValue.cpp
+  MCWin64EH.cpp
+  MachObjectWriter.cpp
+  WinCOFFStreamer.cpp
+  WinCOFFObjectWriter.cpp
+  SubtargetFeature.cpp
+  MCAsmBackend.cpp
+  MCTargetAsmLexer.cpp
   )
+
+add_llvm_library_dependencies(LLVMMC
+  LLVMObject
+  LLVMSupport
+  )
+
+add_subdirectory(MCParser)
+add_subdirectory(MCDisassembler)