blob: 9daf06006e6c9ef7a4441992339b6a08ea9e5e4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_subdirectory(MCDisassembler)
add_subdirectory(MCParser)
add_library(llvm12-lib-MC)
target_compile_options(llvm12-lib-MC PRIVATE
-Wno-everything
)
target_include_directories(llvm12-lib-MC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC
)
target_link_libraries(llvm12-lib-MC PUBLIC
contrib-libs-cxxsupp
contrib-libs-llvm12
llvm12-lib-BinaryFormat
lib-DebugInfo-CodeView
llvm12-lib-Support
)
target_sources(llvm12-lib-MC PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/ConstantPools.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/ELFObjectWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmBackend.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmInfo.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmInfoCOFF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmInfoDarwin.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmInfoELF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmInfoWasm.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmInfoXCOFF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmMacro.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAsmStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCAssembler.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCCodeEmitter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCCodeView.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCContext.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCDwarf.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCELFObjectTargetWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCELFStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCExpr.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCFragment.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCInst.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCInstPrinter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCInstrAnalysis.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCInstrDesc.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCInstrInfo.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCLabel.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCLinkerOptimizationHint.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCMachOStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCMachObjectTargetWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCNullStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCObjectFileInfo.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCObjectStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCObjectWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCPseudoProbe.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCRegisterInfo.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSchedule.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSection.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSectionCOFF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSectionELF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSectionMachO.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSectionWasm.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSectionXCOFF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSubtargetInfo.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSymbol.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSymbolELF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCSymbolXCOFF.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCTargetOptions.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCTargetOptionsCommandFlags.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCValue.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCWasmObjectTargetWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCWasmStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCWin64EH.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCWinCOFFStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCWinEH.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCXCOFFObjectTargetWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MCXCOFFStreamer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/MachObjectWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/StringTableBuilder.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/SubtargetFeature.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/WasmObjectWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/WinCOFFObjectWriter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/MC/XCOFFObjectWriter.cpp
)
|