OSDN Git Service

Inline contents of LLVM_XRAY_TOOLS variable into its only use.
authorNico Weber <nicolasweber@gmx.de>
Wed, 9 May 2018 00:42:17 +0000 (00:42 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 9 May 2018 00:42:17 +0000 (00:42 +0000)
No behavior change.
https://reviews.llvm.org/D46402

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331830 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-xray/CMakeLists.txt

index 06002dd..66b7f21 100644 (file)
@@ -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
   )