From c9eb21f6286c14ee95f46c4f4bea9164aefde500 Mon Sep 17 00:00:00 2001 From: smallzhong Date: Sat, 4 Oct 2025 20:21:49 +0800 Subject: [PATCH 1/4] 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. --- lldb/include/lldb/Symbol/SymbolFile.h | 4 ++-- llvm/include/llvm/IR/MDBuilder.h | 2 +- llvm/lib/MC/XCOFFObjectWriter.cpp | 14 +++++++------- llvm/lib/Object/XCOFFObjectFile.cpp | 2 +- .../PowerPC/aix-xcoff-exception-section-debug.ll | 6 +++--- .../CodeGen/PowerPC/aix-xcoff-exception-section.ll | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lldb/include/lldb/Symbol/SymbolFile.h b/lldb/include/lldb/Symbol/SymbolFile.h index 3b4d7bc01d132..50036c2ea049b 100644 --- a/lldb/include/lldb/Symbol/SymbolFile.h +++ b/lldb/include/lldb/Symbol/SymbolFile.h @@ -174,9 +174,9 @@ class SymbolFile : public PluginInterface { /// object files. /// /// \param comp_unit - /// When this SymbolFile consists of multiple auxilliary + /// When this SymbolFile consists of multiple auxiliary /// SymbolFiles, for example, a Darwin debug map that references - /// multiple .o files, comp_unit helps choose the auxilliary + /// multiple .o files, comp_unit helps choose the auxiliary /// file. In most other cases comp_unit's symbol file is /// identical with *this. /// diff --git a/llvm/include/llvm/IR/MDBuilder.h b/llvm/include/llvm/IR/MDBuilder.h index df1c66cf24fcb..62184be96739b 100644 --- a/llvm/include/llvm/IR/MDBuilder.h +++ b/llvm/include/llvm/IR/MDBuilder.h @@ -143,7 +143,7 @@ class MDBuilder { // PC sections metadata. //===------------------------------------------------------------------===// - /// A pair of PC section name with auxilliary constant data. + /// A pair of PC section name with auxiliary constant data. using PCSection = std::pair>; /// Return metadata for PC sections. diff --git a/llvm/lib/MC/XCOFFObjectWriter.cpp b/llvm/lib/MC/XCOFFObjectWriter.cpp index fce6b2ac5cf8d..ad99f566655e4 100644 --- a/llvm/lib/MC/XCOFFObjectWriter.cpp +++ b/llvm/lib/MC/XCOFFObjectWriter.cpp @@ -946,15 +946,15 @@ void XCOFFWriter::writeSymbolEntryForCsectMemberLabel( (is64Bit() && ExceptionSection.isDebugEnabled) ? 3 : 2); if (is64Bit() && ExceptionSection.isDebugEnabled) { // On 64 bit with debugging enabled, we have a csect, exception, and - // function auxilliary entries, so we must increment symbol index by 4. + // function auxiliary entries, so we must increment symbol index by 4. writeSymbolAuxExceptionEntry( ExceptionSection.FileOffsetToData + getExceptionOffset(Entry->second.FunctionSymbol), Entry->second.FunctionSize, SymbolIndexMap[Entry->second.FunctionSymbol] + 4); } - // For exception section entries, csect and function auxilliary entries - // must exist. On 64-bit there is also an exception auxilliary entry. + // For exception section entries, csect and function auxiliary entries + // must exist. On 64-bit there is also an exception auxiliary entry. writeSymbolAuxFunctionEntry( ExceptionSection.FileOffsetToData + getExceptionOffset(Entry->second.FunctionSymbol), @@ -1015,7 +1015,7 @@ void XCOFFWriter::writeSymbolAuxFunctionEntry(uint32_t EntryOffset, void XCOFFWriter::writeSymbolAuxExceptionEntry(uint64_t EntryOffset, uint32_t FunctionSize, uint32_t EndIndex) { - assert(is64Bit() && "Exception auxilliary entries are 64-bit only."); + assert(is64Bit() && "Exception auxiliary entries are 64-bit only."); W.write(EntryOffset); W.write(FunctionSize); W.write(EndIndex); @@ -1348,7 +1348,7 @@ void XCOFFWriter::addExceptionEntry(const MCSymbol *Symbol, unsigned ReasonCode, unsigned FunctionSize, bool hasDebug) { // If a module had debug info, debugging is enabled and XCOFF emits the - // exception auxilliary entry. + // exception auxiliary entry. if (hasDebug) ExceptionSection.isDebugEnabled = true; auto Entry = ExceptionSection.ExceptionTable.find(Symbol->getName()); @@ -1474,8 +1474,8 @@ void XCOFFWriter::assignAddressesAndIndices(MCAssembler &Asm) { SymbolIndexMap[Sym.MCSym] = Sym.SymbolTableIndex; // 1 main and 1 auxiliary symbol table entry for each contained // symbol. For symbols with exception section entries, a function - // auxilliary entry is needed, and on 64-bit XCOFF with debugging - // enabled, an additional exception auxilliary entry is needed. + // auxiliary entry is needed, and on 64-bit XCOFF with debugging + // enabled, an additional exception auxiliary entry is needed. SymbolTableIndex += 2; if (hasExceptionSection() && hasExceptEntry) { if (is64Bit() && ExceptionSection.isDebugEnabled) diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index c5a2ec219e91c..c26fe2c914850 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -1331,7 +1331,7 @@ Expected XCOFFSymbolRef::getXCOFFCsectAuxRef() const { } if (!getObject()->is64Bit()) { - // In XCOFF32, the csect auxilliary entry is always the last auxiliary + // In XCOFF32, the csect auxiliary entry is always the last auxiliary // entry for the symbol. uintptr_t AuxAddr = XCOFFObjectFile::getAdvancedSymbolEntryAddress( getEntryAddress(), NumberOfAuxEntries); diff --git a/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll b/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll index 7b66148044ddc..fca066f94e4e7 100644 --- a/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll +++ b/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll @@ -1,12 +1,12 @@ ; This file contains exception section testing for when debug information is present. -; The 32-bit test should not print exception auxilliary entries because they are a 64-bit only feature. -; Exception auxilliary entries are present in the 64-bit tests because 64-bit && debug enabled are the requirements. +; The 32-bit test should not print exception auxiliary entries because they are a 64-bit only feature. +; Exception auxiliary entries are present in the 64-bit tests because 64-bit && debug enabled are the requirements. ; RUN: llc -mtriple=powerpc-ibm-aix-xcoff -mcpu=ppc -filetype=obj -o %t_32.o < %s ; RUN: llvm-readobj --syms %t_32.o | FileCheck %s --check-prefix=SYMS32 ; RUN: llc -mtriple=powerpc64-unknown-aix -mcpu=ppc -filetype=obj -o %t_32.o < %s ; RUN: llvm-readobj --syms %t_32.o | FileCheck %s --check-prefix=SYMS64 -; If any debug information is included in a module and is XCOFF64, exception auxilliary entries are emitted +; If any debug information is included in a module and is XCOFF64, exception auxiliary entries are emitted !llvm.module.flags = !{!0, !1} !llvm.dbg.cu = !{!2} diff --git a/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section.ll b/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section.ll index fbcb62a49f972..8b9850ffddee2 100644 --- a/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section.ll +++ b/llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section.ll @@ -1,4 +1,4 @@ -; Testing 32-bit and 64-bit exception section entries, no exception auxilliary +; Testing 32-bit and 64-bit exception section entries, no exception auxiliary ; entries should be produced as no debug information is specified. ; RUN: llc -mtriple=powerpc-ibm-aix-xcoff -mcpu=ppc -filetype=obj -o %t_32.o < %s ; RUN: llvm-readobj --exception-section %t_32.o | FileCheck %s --check-prefix=EXCEPT From 92cb18f42596b1b748cc05ed933c53167fd44685 Mon Sep 17 00:00:00 2001 From: smallzhong Date: Sat, 4 Oct 2025 20:22:50 +0800 Subject: [PATCH 2/4] Fix typo in comment: 'unit64_t' to 'uint64_t' Corrects a typo in comments within XCOFFObjectFile.cpp, changing 'unit64_t' to the correct type 'uint64_t' for clarity. --- llvm/lib/Object/XCOFFObjectFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index c26fe2c914850..1f4f1979a8dc9 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -379,7 +379,7 @@ Expected XCOFFObjectFile::getSectionName(DataRefImpl Sec) const { } uint64_t XCOFFObjectFile::getSectionAddress(DataRefImpl Sec) const { - // Avoid ternary due to failure to convert the ubig32_t value to a unit64_t + // Avoid ternary due to failure to convert the ubig32_t value to a uint64_t // with MSVC. if (is64Bit()) return toSection64(Sec)->VirtualAddress; @@ -397,7 +397,7 @@ uint64_t XCOFFObjectFile::getSectionIndex(DataRefImpl Sec) const { } uint64_t XCOFFObjectFile::getSectionSize(DataRefImpl Sec) const { - // Avoid ternary due to failure to convert the ubig32_t value to a unit64_t + // Avoid ternary due to failure to convert the ubig32_t value to a uint64_t // with MSVC. if (is64Bit()) return toSection64(Sec)->SectionSize; From 4e24773f199080d7036d97c1efa2efbcf4e0da5c Mon Sep 17 00:00:00 2001 From: smallzhong Date: Sat, 4 Oct 2025 20:29:32 +0800 Subject: [PATCH 3/4] Fix typo in section name for STYP_EXCEPT Corrected the string from 'expect' to 'except' for the STYP_EXCEPT section in XCOFFObjectFile.cpp. --- llvm/lib/Object/XCOFFObjectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index 1f4f1979a8dc9..3b3a5d360dc68 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -473,7 +473,7 @@ Expected XCOFFObjectFile::getSectionFileOffsetToRawData( ECASE(STYP_TEXT, "text"); ECASE(STYP_DATA, "data"); ECASE(STYP_BSS, "bss"); - ECASE(STYP_EXCEPT, "expect"); + ECASE(STYP_EXCEPT, "except"); ECASE(STYP_INFO, "info"); ECASE(STYP_TDATA, "tdata"); ECASE(STYP_TBSS, "tbss"); From f12d1c9dba1433cae9d6261c2add45604c279eb5 Mon Sep 17 00:00:00 2001 From: smallzhong Date: Sat, 4 Oct 2025 22:18:13 +0800 Subject: [PATCH 4/4] Fix typo: IsGlobaLinkage -> IsGlobalLinkage in XCOFF Corrects the spelling of 'IsGlobaLinkage' to 'IsGlobalLinkage' in XCOFF-related code, comments, and tests across the codebase. --- libunwind/test/aix_signal_unwind.pass.sh.S | 4 ++-- llvm/include/llvm/BinaryFormat/XCOFF.h | 2 +- llvm/lib/Object/XCOFFObjectFile.cpp | 2 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 +- llvm/test/CodeGen/PowerPC/aix-alloca-r31.ll | 4 ++-- .../PowerPC/aix-emit-tracebacktable-clobber-register.ll | 4 ++-- .../PowerPC/aix-emit-tracebacktable-redzone-boundary.mir | 4 ++-- .../CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll | 4 ++-- .../PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll | 2 +- llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll | 8 ++++---- llvm/test/CodeGen/PowerPC/aix-exception.ll | 2 +- llvm/test/DebugInfo/XCOFF/empty.ll | 4 ++-- llvm/test/DebugInfo/XCOFF/explicit-section.ll | 4 ++-- llvm/test/DebugInfo/XCOFF/function-sections.ll | 4 ++-- openmp/runtime/src/z_AIX_asm.S | 2 +- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/libunwind/test/aix_signal_unwind.pass.sh.S b/libunwind/test/aix_signal_unwind.pass.sh.S index 2c0cf140fe267..818745b5eb82d 100644 --- a/libunwind/test/aix_signal_unwind.pass.sh.S +++ b/libunwind/test/aix_signal_unwind.pass.sh.S @@ -168,7 +168,7 @@ L..abc0: .vbyte 4, 0x00000000 # Traceback table begin .byte 0x00 # Version = 0 .byte 0x09 # Language = CPlusPlus - .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue + .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue # +HasTraceBackTableOffset, -IsInternalProcedure # -HasControlledStorage, -IsTOCless # -IsFloatingPointPresent @@ -218,7 +218,7 @@ L..abc0: .vbyte 4, 0x00000000 # Traceback table begin .byte 0x00 # Version = 0 .byte 0x09 # Language = CPlusPlus - .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue + .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue # +HasTraceBackTableOffset, -IsInternalProcedure # -HasControlledStorage, -IsTOCless # -IsFloatingPointPresent diff --git a/llvm/include/llvm/BinaryFormat/XCOFF.h b/llvm/include/llvm/BinaryFormat/XCOFF.h index 24d5c74adb3fa..9f571b9d5e603 100644 --- a/llvm/include/llvm/BinaryFormat/XCOFF.h +++ b/llvm/include/llvm/BinaryFormat/XCOFF.h @@ -412,7 +412,7 @@ struct TracebackTable { static constexpr uint8_t LanguageIdShift = 16; // Byte 3 - static constexpr uint32_t IsGlobaLinkageMask = 0x0000'8000; + static constexpr uint32_t IsGlobalLinkageMask = 0x0000'8000; static constexpr uint32_t IsOutOfLineEpilogOrPrologueMask = 0x0000'4000; static constexpr uint32_t HasTraceBackTableOffsetMask = 0x0000'2000; static constexpr uint32_t IsInternalProcedureMask = 0x0000'1000; diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index 3b3a5d360dc68..ee2e310ba750b 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -1568,7 +1568,7 @@ uint8_t XCOFFTracebackTable::getLanguageID() const { } bool XCOFFTracebackTable::isGlobalLinkage() const { - return GETBITWITHMASK(0, IsGlobaLinkageMask); + return GETBITWITHMASK(0, IsGlobalLinkageMask); } bool XCOFFTracebackTable::isOutOfLineEpilogOrPrologue() const { diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp index 023fd147535ec..bcb3f507e98d6 100644 --- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -2404,7 +2404,7 @@ void PPCAIXAsmPrinter::emitTracebackTable() { << static_cast(((V) & (TracebackTable::Field##Mask)) >> \ (TracebackTable::Field##Shift)) - GENBOOLCOMMENT("", FirstHalfOfMandatoryField, IsGlobaLinkage); + GENBOOLCOMMENT("", FirstHalfOfMandatoryField, IsGlobalLinkage); GENBOOLCOMMENT(", ", FirstHalfOfMandatoryField, IsOutOfLineEpilogOrPrologue); EmitComment(); diff --git a/llvm/test/CodeGen/PowerPC/aix-alloca-r31.ll b/llvm/test/CodeGen/PowerPC/aix-alloca-r31.ll index edfa0b98168e4..2ee6e080e3473 100644 --- a/llvm/test/CodeGen/PowerPC/aix-alloca-r31.ll +++ b/llvm/test/CodeGen/PowerPC/aix-alloca-r31.ll @@ -31,7 +31,7 @@ define i32 @varalloca() local_unnamed_addr { ; CHECK-ASM32-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-ASM32-NEXT: .byte 0x00 # Version = 0 ; CHECK-ASM32-NEXT: .byte 0x09 # Language = CPlusPlus -; CHECK-ASM32-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; CHECK-ASM32-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-ASM32-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-ASM32-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-ASM32-NEXT: # -IsFloatingPointPresent @@ -70,7 +70,7 @@ define i32 @varalloca() local_unnamed_addr { ; CHECK-ASM64-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-ASM64-NEXT: .byte 0x00 # Version = 0 ; CHECK-ASM64-NEXT: .byte 0x09 # Language = CPlusPlus -; CHECK-ASM64-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; CHECK-ASM64-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-ASM64-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-ASM64-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-ASM64-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll index 42bd4782c8688..8e4e0d352e3f0 100644 --- a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll +++ b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll @@ -49,7 +49,7 @@ entry: ; COMMON: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x22 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x22 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # +IsFloatingPointPresent @@ -70,7 +70,7 @@ entry: ; COMMON-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-redzone-boundary.mir b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-redzone-boundary.mir index 3d4b5a73a8225..7041315ef359c 100644 --- a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-redzone-boundary.mir +++ b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-redzone-boundary.mir @@ -25,7 +25,7 @@ body: | ; CHECK: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-NEXT: .byte 0x00 # Version = 0 ; CHECK-NEXT: .byte 0x09 # Language = CPlusPlus - ; CHECK-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue + ; CHECK-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-NEXT: # -IsFloatingPointPresent @@ -43,7 +43,7 @@ body: | ; CHECK: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-NEXT: .byte 0x00 # Version = 0 ; CHECK-NEXT: .byte 0x09 # Language = CPlusPlus - ; CHECK-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue + ; CHECK-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll index 83e413ab408bb..f03a6c0dd4519 100644 --- a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll +++ b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll @@ -82,7 +82,7 @@ declare <4 x float> @llvm.fabs.v4f32(<4 x float>) #1 ; COMMON-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x22 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x22 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # +IsFloatingPointPresent @@ -107,7 +107,7 @@ declare <4 x float> @llvm.fabs.v4f32(<4 x float>) #1 ; COMMON-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x22 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x22 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # +IsFloatingPointPresent diff --git a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll index 8c0a58929742c..26506f84f9ed0 100644 --- a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll +++ b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll @@ -15,7 +15,7 @@ entry: ;CHECK-ASM: .vbyte 4, 0x00000000 # Traceback table begin ;CHECK-ASM-NEXT: .byte 0x00 # Version = 0 ;CHECK-ASM-NEXT: .byte 0x09 # Language = CPlusPlus -;CHECK-ASM-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +;CHECK-ASM-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ;CHECK-ASM-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ;CHECK-ASM-NEXT: # -HasControlledStorage, -IsTOCless ;CHECK-ASM-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll index ce97f37ad2b10..2827155dc1845 100644 --- a/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll +++ b/llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll @@ -138,7 +138,7 @@ entry: ; COMMON-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x22 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x22 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # +IsFloatingPointPresent @@ -167,7 +167,7 @@ entry: ; COMMON-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x22 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x22 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # +IsFloatingPointPresent @@ -190,7 +190,7 @@ entry: ; COMMON: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x22 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x22 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # +IsFloatingPointPresent @@ -217,7 +217,7 @@ entry: ; COMMON-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; COMMON-NEXT: .byte 0x00 # Version = 0 ; COMMON-NEXT: .byte 0x09 # Language = CPlusPlus -; COMMON-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; COMMON-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; COMMON-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; COMMON-NEXT: # -HasControlledStorage, -IsTOCless ; COMMON-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/CodeGen/PowerPC/aix-exception.ll b/llvm/test/CodeGen/PowerPC/aix-exception.ll index 5035d8e323d15..5b364ef3fe0b7 100644 --- a/llvm/test/CodeGen/PowerPC/aix-exception.ll +++ b/llvm/test/CodeGen/PowerPC/aix-exception.ll @@ -113,7 +113,7 @@ eh.resume: ; preds = %catch.dispatch ; ASM: .vbyte 4, 0x00000000 # Traceback table begin ; ASM: .byte 0x00 # Version = 0 ; ASM: .byte 0x09 # Language = CPlusPlus -; ASM: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; ASM: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; ASM: # +HasTraceBackTableOffset, -IsInternalProcedure ; ASM: # -HasControlledStorage, -IsTOCless ; ASM: # -IsFloatingPointPresent diff --git a/llvm/test/DebugInfo/XCOFF/empty.ll b/llvm/test/DebugInfo/XCOFF/empty.ll index af2f74fb82b8f..24655e5837bdf 100644 --- a/llvm/test/DebugInfo/XCOFF/empty.ll +++ b/llvm/test/DebugInfo/XCOFF/empty.ll @@ -61,7 +61,7 @@ entry: ; ASM32-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; ASM32-NEXT: .byte 0x00 # Version = 0 ; ASM32-NEXT: .byte 0x09 # Language = CPlusPlus -; ASM32-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; ASM32-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; ASM32-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; ASM32-NEXT: # -HasControlledStorage, -IsTOCless ; ASM32-NEXT: # -IsFloatingPointPresent @@ -264,7 +264,7 @@ entry: ; ASM64-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; ASM64-NEXT: .byte 0x00 # Version = 0 ; ASM64-NEXT: .byte 0x09 # Language = CPlusPlus -; ASM64-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; ASM64-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; ASM64-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; ASM64-NEXT: # -HasControlledStorage, -IsTOCless ; ASM64-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/DebugInfo/XCOFF/explicit-section.ll b/llvm/test/DebugInfo/XCOFF/explicit-section.ll index 0ae9289c08df3..3bcc0f940cc35 100644 --- a/llvm/test/DebugInfo/XCOFF/explicit-section.ll +++ b/llvm/test/DebugInfo/XCOFF/explicit-section.ll @@ -65,7 +65,7 @@ entry: ; CHECK-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-NEXT: .byte 0x00 # Version = 0 ; CHECK-NEXT: .byte 0x09 # Language = CPlusPlus -; CHECK-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; CHECK-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-NEXT: # -IsFloatingPointPresent @@ -113,7 +113,7 @@ entry: ; CHECK-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-NEXT: .byte 0x00 # Version = 0 ; CHECK-NEXT: .byte 0x09 # Language = CPlusPlus -; CHECK-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; CHECK-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-NEXT: # -IsFloatingPointPresent diff --git a/llvm/test/DebugInfo/XCOFF/function-sections.ll b/llvm/test/DebugInfo/XCOFF/function-sections.ll index 6a86ae6796fbc..0b7a03b447aac 100644 --- a/llvm/test/DebugInfo/XCOFF/function-sections.ll +++ b/llvm/test/DebugInfo/XCOFF/function-sections.ll @@ -60,7 +60,7 @@ entry: ; CHECK-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-NEXT: .byte 0x00 # Version = 0 ; CHECK-NEXT: .byte 0x09 # Language = CPlusPlus -; CHECK-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; CHECK-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-NEXT: # -IsFloatingPointPresent @@ -95,7 +95,7 @@ entry: ; CHECK-NEXT: .vbyte 4, 0x00000000 # Traceback table begin ; CHECK-NEXT: .byte 0x00 # Version = 0 ; CHECK-NEXT: .byte 0x09 # Language = CPlusPlus -; CHECK-NEXT: .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue +; CHECK-NEXT: .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue ; CHECK-NEXT: # +HasTraceBackTableOffset, -IsInternalProcedure ; CHECK-NEXT: # -HasControlledStorage, -IsTOCless ; CHECK-NEXT: # -IsFloatingPointPresent diff --git a/openmp/runtime/src/z_AIX_asm.S b/openmp/runtime/src/z_AIX_asm.S index d711fcb7a7854..435207927b79c 100644 --- a/openmp/runtime/src/z_AIX_asm.S +++ b/openmp/runtime/src/z_AIX_asm.S @@ -367,7 +367,7 @@ .vbyte 4, 0x00000000 # Traceback table begin .byte 0x00 # Version = 0 .byte 0x09 # Language = CPlusPlus - .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue + .byte 0x20 # -IsGlobalLinkage, -IsOutOfLineEpilogOrPrologue # +HasTraceBackTableOffset, -IsInternalProcedure # -HasControlledStorage, -IsTOCless # -IsFloatingPointPresent