Skip to content

Commit 48088dc

Browse files
authored
[llvm-dwarfdump] Rename manaully-generate-unit-index. (#108399)
-manaully-generate-unit-index was misspelled.
1 parent 853bb8f commit 48088dc

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

llvm/test/tools/llvm-dwp/X86/cu_tu_units_manual_v4.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# RUN: -split-dwarf-file=%t.dwo -dwarf-version=4
55
# RUN: llvm-dwp %t.dwo -o %t.dwp
66
# RUN: llvm-dwarfdump -debug-info -debug-types -debug-cu-index -debug-tu-index %t.dwp | FileCheck %s
7-
# RUN: llvm-dwarfdump -debug-info -debug-types -debug-cu-index -debug-tu-index -manaully-generate-unit-index %t.dwp | FileCheck %s
7+
# RUN: llvm-dwarfdump -debug-info -debug-types -debug-cu-index -debug-tu-index -manually-generate-unit-index %t.dwp | FileCheck %s
88

99
## Note: In order to check whether the type unit index is generated
1010
## there is no need to add the missing DIEs for the structure type of the type unit.

llvm/test/tools/llvm-dwp/X86/cu_tu_units_manual_v5.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# RUN: -split-dwarf-file=%t.dwo -dwarf-version=5
55
# RUN: llvm-dwp %t.dwo -o %t.dwp
66
# RUN: llvm-dwarfdump -debug-info -debug-cu-index -debug-tu-index %t.dwp | FileCheck %s
7-
# RUN: llvm-dwarfdump -debug-info -debug-cu-index -debug-tu-index -manaully-generate-unit-index %t.dwp | FileCheck %s
7+
# RUN: llvm-dwarfdump -debug-info -debug-cu-index -debug-tu-index -manually-generate-unit-index %t.dwp | FileCheck %s
88

99
## Note: In order to check whether the type unit index is generated
1010
## there is no need to add the missing DIEs for the structure type of the type unit.

llvm/test/tools/llvm-dwp/X86/cu_tu_units_manual_v5_invalid.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# RUN: -split-dwarf-file=%t.dwo -dwarf-version=5
66
# RUN: llvm-dwp %t.dwo -o %t.dwp
77
# RUN: llvm-dwarfdump -debug-info -debug-cu-index -debug-tu-index \
8-
# RUN: -manaully-generate-unit-index %t.dwp 2>&1 | FileCheck %s
8+
# RUN: -manually-generate-unit-index %t.dwp 2>&1 | FileCheck %s
99

1010
## Note: In order to check whether the type unit index is generated
1111
## there is no need to add the missing DIEs for the structure type of the type unit.

llvm/test/tools/llvm-dwp/X86/debug_macro_v5.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# RUN: llvm-mc -triple x86_64-unknown-linux --filetype=obj --split-dwarf-file=%t.dwo -dwarf-version=5 %s -o %t.o
44
# RUN: llvm-dwp %t.dwo -o %t.dwp 2>&1
55
# RUN: llvm-dwarfdump -debug-macro -debug-cu-index %t.dwp | FileCheck -check-prefix=CHECK %s
6-
# RUN: llvm-dwarfdump -debug-macro -debug-cu-index -manaully-generate-unit-index %t.dwp | FileCheck -check-prefix=CHECK2 %s
6+
# RUN: llvm-dwarfdump -debug-macro -debug-cu-index -manually-generate-unit-index %t.dwp | FileCheck -check-prefix=CHECK2 %s
77

88
# CHECK-DAG: .debug_macro.dwo contents:
99
# CHECK: macro header: version = 0x0005, flags = 0x00, format = DWARF32

llvm/test/tools/llvm-dwp/X86/type_dedup.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
RUN: llvm-dwp %p/../Inputs/type_dedup/a.dwo %p/../Inputs/type_dedup/b.dwo -o %t
22
RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix=CHECK %s
3-
RUN: llvm-dwarfdump -v -manaully-generate-unit-index %t | FileCheck -check-prefix=CHECK2 %s
3+
RUN: llvm-dwarfdump -v -manually-generate-unit-index %t | FileCheck -check-prefix=CHECK2 %s
44
RUN: llvm-dwp %p/../Inputs/type_dedup/b.dwo -o %tb.dwp
55
RUN: llvm-dwp %p/../Inputs/type_dedup/a.dwo %tb.dwp -o %t
66
RUN: llvm-dwarfdump -v %t | FileCheck -check-prefix=CHECK %s
7-
RUN: llvm-dwarfdump -v -manaully-generate-unit-index %t | FileCheck -check-prefix=CHECK2 %s
7+
RUN: llvm-dwarfdump -v -manually-generate-unit-index %t | FileCheck -check-prefix=CHECK2 %s
88

99
a.cpp:
1010
struct common { };

llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static cl::opt<bool>
272272
"expressed in bytes."),
273273
cat(DwarfDumpCategory));
274274
static cl::opt<bool> ManuallyGenerateUnitIndex(
275-
"manaully-generate-unit-index",
275+
"manually-generate-unit-index",
276276
cl::desc("if the input is dwp file, parse .debug_info "
277277
"section and use it to populate "
278278
"DW_SECT_INFO contributions in cu-index. "

0 commit comments

Comments
 (0)