[llvm] r331830 - Inline contents of LLVM_XRAY_TOOLS variable into its only use.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 17:42:17 PDT 2018


Author: nico
Date: Tue May  8 17:42:17 2018
New Revision: 331830

URL: http://llvm.org/viewvc/llvm-project?rev=331830&view=rev
Log:
Inline contents of LLVM_XRAY_TOOLS variable into its only use.

No behavior change.
https://reviews.llvm.org/D46402

Modified:
    llvm/trunk/tools/llvm-xray/CMakeLists.txt

Modified: llvm/trunk/tools/llvm-xray/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-xray/CMakeLists.txt?rev=331830&r1=331829&r2=331830&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-xray/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-xray/CMakeLists.txt Tue May  8 17:42:17 2018
@@ -7,19 +7,15 @@ set(LLVM_LINK_COMPONENTS
   XRay
   )
 
-set(LLVM_XRAY_TOOLS
+add_llvm_tool(llvm-xray
   func-id-helper.cpp
+  llvm-xray.cpp
   xray-account.cpp
   xray-color-helper.cpp
   xray-converter.cpp
   xray-extract.cpp
-  xray-graph.cpp
   xray-graph-diff.cpp
-  xray-stacks.cpp
+  xray-graph.cpp
   xray-registry.cpp
-  )
-
-add_llvm_tool(llvm-xray
-  llvm-xray.cpp
-  ${LLVM_XRAY_TOOLS}
+  xray-stacks.cpp
   )




More information about the llvm-commits mailing list