static_library("MC") {
output_name = "LLVMMC"
deps = [
"//llvm/include/llvm/Config:config",
"//llvm/lib/BinaryFormat",
"//llvm/lib/DebugInfo/CodeView",
"//llvm/lib/Support",
"//llvm/lib/TargetParser",
]
public_deps = [
# Must be a public_dep because MC's headers include llvm-config.h.
"//llvm/include/llvm/Config:llvm-config",
]
sources = [
"ConstantPools.cpp",
"DXContainerPSVInfo.cpp",
"ELFObjectWriter.cpp",
"GOFFObjectWriter.cpp",
"MCAsmBackend.cpp",
"MCAsmInfo.cpp",
"MCAsmInfoCOFF.cpp",
"MCAsmInfoDarwin.cpp",
"MCAsmInfoELF.cpp",
"MCAsmInfoGOFF.cpp",
"MCAsmInfoWasm.cpp",
"MCAsmInfoXCOFF.cpp",
"MCAsmMacro.cpp",
"MCAsmStreamer.cpp",
"MCAssembler.cpp",
"MCCodeEmitter.cpp",
"MCCodeView.cpp",
"MCContext.cpp",
"MCDXContainerStreamer.cpp",
"MCDXContainerWriter.cpp",
"MCDwarf.cpp",
"MCELFObjectTargetWriter.cpp",
"MCELFStreamer.cpp",
"MCExpr.cpp",
"MCFragment.cpp",
"MCGOFFStreamer.cpp",
"MCInst.cpp",
"MCInstPrinter.cpp",
"MCInstrAnalysis.cpp",
"MCInstrDesc.cpp",
"MCInstrInfo.cpp",
"MCLabel.cpp",
"MCLinkerOptimizationHint.cpp",
"MCMachOStreamer.cpp",
"MCMachObjectTargetWriter.cpp",
"MCNullStreamer.cpp",
"MCObjectFileInfo.cpp",
"MCObjectStreamer.cpp",
"MCObjectWriter.cpp",
"MCPseudoProbe.cpp",
"MCRegisterInfo.cpp",
"MCSPIRVStreamer.cpp",
"MCSchedule.cpp",
"MCSection.cpp",
"MCSectionCOFF.cpp",
"MCSectionDXContainer.cpp",
"MCSectionELF.cpp",
"MCSectionMachO.cpp",
"MCSectionWasm.cpp",
"MCSectionXCOFF.cpp",
"MCStreamer.cpp",
"MCSubtargetInfo.cpp",
"MCSymbol.cpp",
"MCSymbolELF.cpp",
"MCSymbolXCOFF.cpp",
"MCTargetOptions.cpp",
"MCTargetOptionsCommandFlags.cpp",
"MCValue.cpp",
"MCWasmObjectTargetWriter.cpp",
"MCWasmStreamer.cpp",
"MCWin64EH.cpp",
"MCWinCOFFStreamer.cpp",
"MCWinEH.cpp",
"MCXCOFFObjectTargetWriter.cpp",
"MCXCOFFStreamer.cpp",
"MachObjectWriter.cpp",
"SPIRVObjectWriter.cpp",
"StringTableBuilder.cpp",
"TargetRegistry.cpp",
"WasmObjectWriter.cpp",
"WinCOFFObjectWriter.cpp",
"XCOFFObjectWriter.cpp",
]
}