Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 0812304

Browse files
committed
Spell correct (s/begining/beginning/)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184362 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 3df7d2f commit 0812304

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

lib/DebugInfo/DWARFDebugLoc.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ void DWARFDebugLoc::dump(raw_ostream &OS) const {
2121
for (SmallVectorImpl<Entry>::const_iterator I2 = I->Entries.begin(), E2 = I->Entries.end(); I2 != E2; ++I2) {
2222
if (I2 != I->Entries.begin())
2323
OS.indent(Indent);
24-
OS << "Begining address offset: " << format("0x%016" PRIx64, I2->Begin)
24+
OS << "Beginning address offset: " << format("0x%016" PRIx64, I2->Begin)
2525
<< '\n';
26-
OS.indent(Indent) << " Ending address offset: "
26+
OS.indent(Indent) << " Ending address offset: "
2727
<< format("0x%016" PRIx64, I2->End) << '\n';
28-
OS.indent(Indent) << " Location description: ";
28+
OS.indent(Indent) << " Location description: ";
2929
for (SmallVectorImpl<unsigned char>::const_iterator I3 = I2->Loc.begin(), E3 = I2->Loc.end(); I3 != E3; ++I3) {
3030
OS << format("%2.2x ", *I3);
3131
}

test/DebugInfo/dwarfdump-debug-loc-simple.test

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ CHECK: DW_AT_location{{.*}}([[F_LOC:0x[0-9a-f]*]])
77
CHECK: DW_AT_name{{.*}}"g"
88
CHECK: DW_AT_location{{.*}}([[G_LOC:0x[0-9a-f]*]])
99
CHECK: .debug_loc contents:
10-
CHECK-NEXT: [[F_LOC]]: Begining address offset: 0x0000000000000000
11-
CHECK-NEXT: Ending address offset: 0x0000000000000023
10+
CHECK-NEXT: [[F_LOC]]: Beginning address offset: 0x0000000000000000
11+
CHECK-NEXT: Ending address offset: 0x0000000000000023
1212
this is actually the wrong location due to PR14763, but that doesn't matter for
1313
the purposes of testing dwarfdump
14-
CHECK-NEXT: Location description: 51
14+
CHECK-NEXT: Location description: 51
1515
CHECK-NEXT: {{^$}}
16-
CHECK-NEXT: Begining address offset: 0x0000000000000023
17-
CHECK-NEXT: Ending address offset: 0x000000000000005d
18-
CHECK-NEXT: Location description: 75 70
16+
CHECK-NEXT: Beginning address offset: 0x0000000000000023
17+
CHECK-NEXT: Ending address offset: 0x000000000000005d
18+
CHECK-NEXT: Location description: 75 70
1919
CHECK-NEXT: {{^$}}
20-
CHECK-NEXT: [[G_LOC]]: Begining address offset: 0x0000000000000000
21-
CHECK-NEXT: Ending address offset: 0x0000000000000020
20+
CHECK-NEXT: [[G_LOC]]: Beginning address offset: 0x0000000000000000
21+
CHECK-NEXT: Ending address offset: 0x0000000000000020
2222
CHECK-NEXT: Location description: 50
2323
CHECK-NEXT: {{^$}}
24-
CHECK-NEXT: Begining address offset: 0x0000000000000020
25-
CHECK-NEXT: Ending address offset: 0x000000000000005d
26-
CHECK-NEXT: Location description: 75 74
24+
CHECK-NEXT: Beginning address offset: 0x0000000000000020
25+
CHECK-NEXT: Ending address offset: 0x000000000000005d
26+
CHECK-NEXT: Location description: 75 74

0 commit comments

Comments
 (0)