summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-01-12 21:35:21 +0000
committerChris Bieneman <beanz@apple.com>2017-01-12 21:35:21 +0000
commit07088c10606068fa8bdf7c5ce1693d179752810e (patch)
treea0e169b4dad89e8ccc29da2c8d02a062d22c7deb /llvm/lib/ObjectYAML/CMakeLists.txt
parent6d9e2c4a9c7c677a1c1ce250d14834b8f5841f16 (diff)
downloadbcm5719-llvm-07088c10606068fa8bdf7c5ce1693d179752810e.tar.gz
bcm5719-llvm-07088c10606068fa8bdf7c5ce1693d179752810e.zip
[ObjectYAML] Pull yaml2dwarf out of yaml2obj for reuse
This patch pulls the yaml2dwarf code out of yaml2obj into a new set of DWARF emitter functions in the DWARFYAML namespace. This will enable the YAML->DWARF code to be used inside DWARF tests by populating the DWARFYAML structs and calling the Emitter functions. llvm-svn: 291828
Diffstat (limited to 'llvm/lib/ObjectYAML/CMakeLists.txt')
-rw-r--r--llvm/lib/ObjectYAML/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/ObjectYAML/CMakeLists.txt b/llvm/lib/ObjectYAML/CMakeLists.txt
index 2eee95b318d..ab3939e17d7 100644
--- a/llvm/lib/ObjectYAML/CMakeLists.txt
+++ b/llvm/lib/ObjectYAML/CMakeLists.txt
@@ -1,8 +1,9 @@
add_llvm_library(LLVMObjectYAML
- YAML.cpp
COFFYAML.cpp
+ DWARFEmitter.cpp
+ DWARFYAML.cpp
ELFYAML.cpp
MachOYAML.cpp
ObjectYAML.cpp
- DWARFYAML.cpp
+ YAML.cpp
)
OpenPOWER on IntegriCloud