Skip to content

Commit ead96d7

Browse files
committed
Revert "Reland "[utils] Implement the llvm-locstats tool""
This reverts commit rL372554. llvm-svn: 372580
1 parent 753f6cf commit ead96d7

File tree

7 files changed

+0
-319
lines changed

7 files changed

+0
-319
lines changed

llvm/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,3 @@ if (LLVM_INCLUDE_BENCHMARKS)
10971097
add_subdirectory(utils/benchmark)
10981098
add_subdirectory(benchmarks)
10991099
endif()
1100-
1101-
if (LLVM_INCLUDE_UTILS)
1102-
add_subdirectory(utils/llvm-locstats)
1103-
endif()

llvm/docs/CommandGuide/index.rst

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 79 deletions
This file was deleted.

llvm/test/lit.cfg.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ def get_asan_rtlib():
124124

125125
opt_viewer_cmd = '%s %s/tools/opt-viewer/opt-viewer.py' % (sys.executable, config.llvm_src_root)
126126

127-
config.substitutions.append(
128-
('%llvm-locstats', "'%s' %s" % (config.python_executable,
129-
os.path.join(config.llvm_tools_dir, 'llvm-locstats'))))
130127
tools = [
131128
ToolSubst('%lli', FindTool('lli'), post='.', extra_args=lli_args),
132129
ToolSubst('%llc_dwarf', FindTool('llc'), extra_args=llc_args),

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

Lines changed: 0 additions & 17 deletions
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

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 0 additions & 208 deletions
This file was deleted.

0 commit comments

Comments
 (0)