Skip to content

Commit c9eb21f

Browse files
committed
Fix spelling of 'auxiliary' in XCOFF and related docs
Corrects multiple instances of the misspelling 'auxilliary' to 'auxiliary' in comments and documentation across XCOFF-related source files, headers, and tests.
1 parent a368fb5 commit c9eb21f

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

lldb/include/lldb/Symbol/SymbolFile.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ class SymbolFile : public PluginInterface {
174174
/// object files.
175175
///
176176
/// \param comp_unit
177-
/// When this SymbolFile consists of multiple auxilliary
177+
/// When this SymbolFile consists of multiple auxiliary
178178
/// SymbolFiles, for example, a Darwin debug map that references
179-
/// multiple .o files, comp_unit helps choose the auxilliary
179+
/// multiple .o files, comp_unit helps choose the auxiliary
180180
/// file. In most other cases comp_unit's symbol file is
181181
/// identical with *this.
182182
///

llvm/include/llvm/IR/MDBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class MDBuilder {
143143
// PC sections metadata.
144144
//===------------------------------------------------------------------===//
145145

146-
/// A pair of PC section name with auxilliary constant data.
146+
/// A pair of PC section name with auxiliary constant data.
147147
using PCSection = std::pair<StringRef, SmallVector<Constant *>>;
148148

149149
/// Return metadata for PC sections.

llvm/lib/MC/XCOFFObjectWriter.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -946,15 +946,15 @@ void XCOFFWriter::writeSymbolEntryForCsectMemberLabel(
946946
(is64Bit() && ExceptionSection.isDebugEnabled) ? 3 : 2);
947947
if (is64Bit() && ExceptionSection.isDebugEnabled) {
948948
// On 64 bit with debugging enabled, we have a csect, exception, and
949-
// function auxilliary entries, so we must increment symbol index by 4.
949+
// function auxiliary entries, so we must increment symbol index by 4.
950950
writeSymbolAuxExceptionEntry(
951951
ExceptionSection.FileOffsetToData +
952952
getExceptionOffset(Entry->second.FunctionSymbol),
953953
Entry->second.FunctionSize,
954954
SymbolIndexMap[Entry->second.FunctionSymbol] + 4);
955955
}
956-
// For exception section entries, csect and function auxilliary entries
957-
// must exist. On 64-bit there is also an exception auxilliary entry.
956+
// For exception section entries, csect and function auxiliary entries
957+
// must exist. On 64-bit there is also an exception auxiliary entry.
958958
writeSymbolAuxFunctionEntry(
959959
ExceptionSection.FileOffsetToData +
960960
getExceptionOffset(Entry->second.FunctionSymbol),
@@ -1015,7 +1015,7 @@ void XCOFFWriter::writeSymbolAuxFunctionEntry(uint32_t EntryOffset,
10151015
void XCOFFWriter::writeSymbolAuxExceptionEntry(uint64_t EntryOffset,
10161016
uint32_t FunctionSize,
10171017
uint32_t EndIndex) {
1018-
assert(is64Bit() && "Exception auxilliary entries are 64-bit only.");
1018+
assert(is64Bit() && "Exception auxiliary entries are 64-bit only.");
10191019
W.write<uint64_t>(EntryOffset);
10201020
W.write<uint32_t>(FunctionSize);
10211021
W.write<uint32_t>(EndIndex);
@@ -1348,7 +1348,7 @@ void XCOFFWriter::addExceptionEntry(const MCSymbol *Symbol,
13481348
unsigned ReasonCode, unsigned FunctionSize,
13491349
bool hasDebug) {
13501350
// If a module had debug info, debugging is enabled and XCOFF emits the
1351-
// exception auxilliary entry.
1351+
// exception auxiliary entry.
13521352
if (hasDebug)
13531353
ExceptionSection.isDebugEnabled = true;
13541354
auto Entry = ExceptionSection.ExceptionTable.find(Symbol->getName());
@@ -1474,8 +1474,8 @@ void XCOFFWriter::assignAddressesAndIndices(MCAssembler &Asm) {
14741474
SymbolIndexMap[Sym.MCSym] = Sym.SymbolTableIndex;
14751475
// 1 main and 1 auxiliary symbol table entry for each contained
14761476
// symbol. For symbols with exception section entries, a function
1477-
// auxilliary entry is needed, and on 64-bit XCOFF with debugging
1478-
// enabled, an additional exception auxilliary entry is needed.
1477+
// auxiliary entry is needed, and on 64-bit XCOFF with debugging
1478+
// enabled, an additional exception auxiliary entry is needed.
14791479
SymbolTableIndex += 2;
14801480
if (hasExceptionSection() && hasExceptEntry) {
14811481
if (is64Bit() && ExceptionSection.isDebugEnabled)

llvm/lib/Object/XCOFFObjectFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ Expected<XCOFFCsectAuxRef> XCOFFSymbolRef::getXCOFFCsectAuxRef() const {
13311331
}
13321332

13331333
if (!getObject()->is64Bit()) {
1334-
// In XCOFF32, the csect auxilliary entry is always the last auxiliary
1334+
// In XCOFF32, the csect auxiliary entry is always the last auxiliary
13351335
// entry for the symbol.
13361336
uintptr_t AuxAddr = XCOFFObjectFile::getAdvancedSymbolEntryAddress(
13371337
getEntryAddress(), NumberOfAuxEntries);

llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
; This file contains exception section testing for when debug information is present.
2-
; The 32-bit test should not print exception auxilliary entries because they are a 64-bit only feature.
3-
; Exception auxilliary entries are present in the 64-bit tests because 64-bit && debug enabled are the requirements.
2+
; The 32-bit test should not print exception auxiliary entries because they are a 64-bit only feature.
3+
; Exception auxiliary entries are present in the 64-bit tests because 64-bit && debug enabled are the requirements.
44
; RUN: llc -mtriple=powerpc-ibm-aix-xcoff -mcpu=ppc -filetype=obj -o %t_32.o < %s
55
; RUN: llvm-readobj --syms %t_32.o | FileCheck %s --check-prefix=SYMS32
66
; RUN: llc -mtriple=powerpc64-unknown-aix -mcpu=ppc -filetype=obj -o %t_32.o < %s
77
; RUN: llvm-readobj --syms %t_32.o | FileCheck %s --check-prefix=SYMS64
88

9-
; If any debug information is included in a module and is XCOFF64, exception auxilliary entries are emitted
9+
; If any debug information is included in a module and is XCOFF64, exception auxiliary entries are emitted
1010

1111
!llvm.module.flags = !{!0, !1}
1212
!llvm.dbg.cu = !{!2}

llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; Testing 32-bit and 64-bit exception section entries, no exception auxilliary
1+
; Testing 32-bit and 64-bit exception section entries, no exception auxiliary
22
; entries should be produced as no debug information is specified.
33
; RUN: llc -mtriple=powerpc-ibm-aix-xcoff -mcpu=ppc -filetype=obj -o %t_32.o < %s
44
; RUN: llvm-readobj --exception-section %t_32.o | FileCheck %s --check-prefix=EXCEPT

0 commit comments

Comments
 (0)