mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
e3adf0fc70
This moves all the logic of converting LLVM Triples to MachO::CPU_(SUB_)TYPE from the specific target (Target)AsmBackend to more convenient functions in lib/BinaryFormat. This also gets rid of the separate two X86AsmBackend classes. The previous attempt was to add it to libObject, but that adds an unnecessary dependency to libObject from all the targets. Differential Revision: https://reviews.llvm.org/D74808
18 lines
313 B
CMake
18 lines
313 B
CMake
add_llvm_component_library(LLVMBinaryFormat
|
|
AMDGPUMetadataVerifier.cpp
|
|
Dwarf.cpp
|
|
MachO.cpp
|
|
Magic.cpp
|
|
Minidump.cpp
|
|
MsgPackDocument.cpp
|
|
MsgPackDocumentYAML.cpp
|
|
MsgPackReader.cpp
|
|
MsgPackWriter.cpp
|
|
Wasm.cpp
|
|
XCOFF.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/BinaryFormat
|
|
)
|
|
|