Skip to content

Commit b21cc62

Browse files
committed
Revert "[utils] Implement the llvm-locstats tool"
This reverts commit rL371520. llvm-svn: 371527
1 parent d2434e6 commit b21cc62

File tree

6 files changed

+0
-315
lines changed

6 files changed

+0
-315
lines changed

llvm/CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,3 @@ if (LLVM_INCLUDE_BENCHMARKS)
11051105
add_subdirectory(utils/benchmark)
11061106
add_subdirectory(benchmarks)
11071107
endif()
1108-
1109-
if (LLVM_INCLUDE_UTILS)
1110-
add_subdirectory(utils/llvm-locstats)
1111-
endif()

llvm/docs/CommandGuide/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@ Developer Tools
7474
llvm-build
7575
llvm-exegesis
7676
llvm-pdbutil
77-
llvm-locstats

llvm/docs/CommandGuide/llvm-locstats.rst

-79
This file was deleted.

llvm/test/tools/llvm-dwarfdump/X86/locstats.ll

-17
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
; RUN: llc -debug-entry-values %s -o - -filetype=obj \
22
; RUN: | llvm-dwarfdump -statistics - | FileCheck %s
33
;
4-
; RUN: llc -debug-entry-values %s -o %t0.o -filetype=obj \
5-
; RUN: | llvm-locstats %t0.o | FileCheck %s --check-prefix=LOCSTATS
6-
;
74
; CHECK: "entry value scope bytes covered":5
85
; CHECK: "formal params scope bytes total":20
96
; CHECK: "formal params scope bytes covered":20
@@ -87,20 +84,6 @@
8784
; CHECK: "vars (excluding the debug entry values) with 90-99% of its scope covered":0
8885
; CHECK: "vars (excluding the debug entry values) with 100% of its scope covered":1}
8986
;
90-
; Test the llvm-locstats output.
91-
; LOCSTATS: 0% 1 16%
92-
; LOCSTATS: 1-9% 0 0%
93-
; LOCSTATS: 10-19% 0 0%
94-
; LOCSTATS: 20-29% 0 0%
95-
; LOCSTATS: 30-39% 0 0%
96-
; LOCSTATS: 40-49% 0 0%
97-
; LOCSTATS: 50-59% 1 16%
98-
; LOCSTATS: 60-69% 0 0%
99-
; LOCSTATS: 70-79% 0 0%
100-
; LOCSTATS: 80-89% 1 16%
101-
; LOCSTATS: 90-99% 0 0%
102-
; LOCSTATS: 100% 3 50%
103-
;
10487
; The source code of the test case:
10588
; extern void fn3(int *);
10689
; extern void fn2 (int);

llvm/utils/llvm-locstats/CMakeLists.txt

-6
This file was deleted.

llvm/utils/llvm-locstats/llvm-locstats.py

-208
This file was deleted.

0 commit comments

Comments
 (0)
close