[PATCH] D46402: Inline contents of LLVM_XRAY_TOOLS variable into its only use.

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 12:14:03 PDT 2018


thakis created this revision.
thakis added a reviewer: dberris.
Herald added a subscriber: mgorny.

No behavior change.


https://reviews.llvm.org/D46402

Files:
  tools/llvm-xray/CMakeLists.txt


Index: tools/llvm-xray/CMakeLists.txt
===================================================================
--- tools/llvm-xray/CMakeLists.txt
+++ tools/llvm-xray/CMakeLists.txt
@@ -7,19 +7,15 @@
   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
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46402.145066.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180503/8728f5ec/attachment.bin>


More information about the llvm-commits mailing list