[all-commits] [llvm/llvm-project] 97b8e2: [llvm] Make obj2yaml and yaml2obj LLVM utilities i...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Oct 19 10:21:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 97b8e2c1f063529125a8d1604d2745878c016061
      https://github.com/llvm/llvm-project/commit/97b8e2c1f063529125a8d1604d2745878c016061
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M llvm/tools/obj2yaml/CMakeLists.txt
    M llvm/tools/yaml2obj/CMakeLists.txt

  Log Message:
  -----------
  [llvm] Make obj2yaml and yaml2obj LLVM utilities instead of tools

For testing purposes I need a way to build and install FileCheck and
yaml2obj. I had to choose between making FileCheck an LLVM tool and
making obj2yaml and yaml2obj utilities. I think the distinction is
rather arbitrary but my understanding is that tools are things meant for
the toolchain while utilities are more used for things like testing,
which is the case here.

The functional difference is that these tools now end up in the
${LLVM_UTILS_INSTALL_DIR}, which defaults to the ${LLVM_TOOLS_INSTALL_DIR}.
Unless you specified a different value or you added obj2yaml and
yaml2obj to ${LLVM_TOOLCHAIN_TOOLS}, this patch shouldn't change
anything.

Differential revision: https://reviews.llvm.org/D89357




More information about the All-commits mailing list