[PATCH] D131713: [llvm][CMake] Move `yaml2obj`, `obj2yaml` and `split-file` from tools to utils
Markus Böck via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 11 12:59:46 PDT 2022
zero9178 created this revision.
zero9178 added reviewers: thakis, MaskRay.
Herald added subscribers: pmatos, asb, StephenFan, sbc100, mgorny.
Herald added a project: All.
zero9178 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
These were fittingly already making use of `add_llvm_utility` during target creation and are usually only used in conjunction with other (test) related utilities such as `FileCheck` and `not`, which are already in `utils`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131713
Files:
llvm/CMakeLists.txt
llvm/tools/obj2yaml/CMakeLists.txt
llvm/tools/obj2yaml/archive2yaml.cpp
llvm/tools/obj2yaml/coff2yaml.cpp
llvm/tools/obj2yaml/dwarf2yaml.cpp
llvm/tools/obj2yaml/dxcontainer2yaml.cpp
llvm/tools/obj2yaml/elf2yaml.cpp
llvm/tools/obj2yaml/macho2yaml.cpp
llvm/tools/obj2yaml/minidump2yaml.cpp
llvm/tools/obj2yaml/obj2yaml.cpp
llvm/tools/obj2yaml/obj2yaml.h
llvm/tools/obj2yaml/offload2yaml.cpp
llvm/tools/obj2yaml/wasm2yaml.cpp
llvm/tools/obj2yaml/xcoff2yaml.cpp
llvm/tools/split-file/.clang-tidy
llvm/tools/split-file/CMakeLists.txt
llvm/tools/split-file/split-file.cpp
llvm/tools/yaml2obj/CMakeLists.txt
llvm/tools/yaml2obj/yaml2obj.cpp
llvm/utils/obj2yaml/CMakeLists.txt
llvm/utils/obj2yaml/archive2yaml.cpp
llvm/utils/obj2yaml/coff2yaml.cpp
llvm/utils/obj2yaml/dwarf2yaml.cpp
llvm/utils/obj2yaml/dxcontainer2yaml.cpp
llvm/utils/obj2yaml/elf2yaml.cpp
llvm/utils/obj2yaml/macho2yaml.cpp
llvm/utils/obj2yaml/minidump2yaml.cpp
llvm/utils/obj2yaml/obj2yaml.cpp
llvm/utils/obj2yaml/obj2yaml.h
llvm/utils/obj2yaml/offload2yaml.cpp
llvm/utils/obj2yaml/wasm2yaml.cpp
llvm/utils/obj2yaml/xcoff2yaml.cpp
llvm/utils/split-file/.clang-tidy
llvm/utils/split-file/CMakeLists.txt
llvm/utils/split-file/split-file.cpp
llvm/utils/yaml2obj/CMakeLists.txt
llvm/utils/yaml2obj/yaml2obj.cpp
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -1140,6 +1140,9 @@
add_subdirectory(utils/not)
add_subdirectory(utils/UnicodeData)
add_subdirectory(utils/yaml-bench)
+ add_subdirectory(utils/yaml2obj)
+ add_subdirectory(utils/obj2yaml)
+ add_subdirectory(utils/split-file)
else()
if ( LLVM_INCLUDE_TESTS )
message(FATAL_ERROR "Including tests when not building utils will not work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131713.451953.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220811/72f55425/attachment.bin>
More information about the llvm-commits
mailing list