[all-commits] [llvm/llvm-project] 841077: [AIX][XCOFF] Use bit order of has_vec and longtbta...
diggerlin via All-commits
all-commits at lists.llvm.org
Fri Jul 9 08:07:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 841077a7e9806f6b288c93dca86dc141cbf5a01d
https://github.com/llvm/llvm-project/commit/841077a7e9806f6b288c93dca86dc141cbf5a01d
Author: zhijian <zhijian at ca.ibm.com>
Date: 2021-07-09 (Fri, 09 Jul 2021)
Changed paths:
M llvm/include/llvm/BinaryFormat/XCOFF.h
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll
M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll
M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll
M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll
M llvm/test/CodeGen/PowerPC/aix-exception.ll
M llvm/test/CodeGen/PowerPC/aix-tracetable-csr.ll
M llvm/test/DebugInfo/XCOFF/empty.ll
M llvm/test/DebugInfo/XCOFF/explicit-section.ll
M llvm/test/DebugInfo/XCOFF/function-sections.ll
Log Message:
-----------
[AIX][XCOFF] Use bit order of has_vec and longtbtable bits as defined in AIX header debug.h
Summary:
The bit order of the has_vec and longtbtable bits in the traceback table generated by the XL compiler flipped at some point after v12.1. This is different from the definition is the AIX header debug.h. The change in the XL compiler that caused the deviation from the OS header definition was unintentional. Since both orderings are extant and the XL compiler runtime also expects the ordering defined by the OS, we will correct the output from LLVM to match the defined ordering given by the OS (which is also consistent with the Assembler Language Reference). Mitigation for traceback tables encoded with the wrong ordering is required for either ordering.
Reviewers: XingXue, HubertTong
Differential Revision: https://reviews.llvm.org/D105487
More information about the All-commits
mailing list