summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/CMakeLists.txt
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2019-07-09 19:21:01 +0000
committerSean Fertile <sfertile@ca.ibm.com>2019-07-09 19:21:01 +0000
commitf09d54ed2a75b62960b35258136435d7c8d418e1 (patch)
tree5f727b7c433f9026cf64e6ec03d25e11d306994d /llvm/lib/MC/CMakeLists.txt
parent294f37561ab155e363be0fca5fa43528d8b29d18 (diff)
downloadbcm5719-llvm-f09d54ed2a75b62960b35258136435d7c8d418e1.tar.gz
bcm5719-llvm-f09d54ed2a75b62960b35258136435d7c8d418e1.zip
Boilerplate for producing XCOFF object files from the PowerPC backend.
Stubs out a number of the classes needed to produce a new object file format (XCOFF) for the powerpc-aix target. For testing input is an empty module which produces an object file with just a file header. Differential Revision: https://reviews.llvm.org/D61694 llvm-svn: 365541
Diffstat (limited to 'llvm/lib/MC/CMakeLists.txt')
-rw-r--r--llvm/lib/MC/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/MC/CMakeLists.txt b/llvm/lib/MC/CMakeLists.txt
index ba36d99e8f7..14e965b55fd 100644
--- a/llvm/lib/MC/CMakeLists.txt
+++ b/llvm/lib/MC/CMakeLists.txt
@@ -7,6 +7,7 @@ add_llvm_library(LLVMMC
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmInfoWasm.cpp
+ MCAsmInfoXCOFF.cpp
MCAsmMacro.cpp
MCAsmStreamer.cpp
MCAssembler.cpp
@@ -38,6 +39,7 @@ add_llvm_library(LLVMMC
MCSectionELF.cpp
MCSectionMachO.cpp
MCSectionWasm.cpp
+ MCSectionXCOFF.cpp
MCStreamer.cpp
MCSubtargetInfo.cpp
MCSymbol.cpp
@@ -49,11 +51,14 @@ add_llvm_library(LLVMMC
MCWin64EH.cpp
MCWinCOFFStreamer.cpp
MCWinEH.cpp
+ MCXCOFFObjectTargetWriter.cpp
+ MCXCOFFStreamer.cpp
MachObjectWriter.cpp
StringTableBuilder.cpp
SubtargetFeature.cpp
WasmObjectWriter.cpp
WinCOFFObjectWriter.cpp
+ XCOFFObjectWriter.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/MC
OpenPOWER on IntegriCloud