mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
0b3ab6d4bf
This patch refactors `emitDebugInfo()` to make the length field be inferred from its content. Besides, the `Visitor` class is removed in this patch. The original `Visitor` class helps us determine an appropriate length and emit the .debug_info section. These two processes can be merged into one process. Besides, the length field should be inferred when it's missing rather than when it's zero. Reviewed By: jhenderson, labath Differential Revision: https://reviews.llvm.org/D84008
26 lines
494 B
CMake
26 lines
494 B
CMake
add_llvm_component_library(LLVMObjectYAML
|
|
CodeViewYAMLDebugSections.cpp
|
|
CodeViewYAMLSymbols.cpp
|
|
CodeViewYAMLTypeHashing.cpp
|
|
CodeViewYAMLTypes.cpp
|
|
COFFEmitter.cpp
|
|
COFFYAML.cpp
|
|
DWARFEmitter.cpp
|
|
DWARFYAML.cpp
|
|
ELFEmitter.cpp
|
|
ELFYAML.cpp
|
|
MachOEmitter.cpp
|
|
MachOYAML.cpp
|
|
ObjectYAML.cpp
|
|
MinidumpEmitter.cpp
|
|
MinidumpYAML.cpp
|
|
WasmEmitter.cpp
|
|
WasmYAML.cpp
|
|
XCOFFYAML.cpp
|
|
YAML.cpp
|
|
yaml2obj.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ObjectYAML
|
|
)
|