[PATCH] D105487: [AIX][XCOFF] Use bit order of has_vec and longtbtable bits as defined in AIX header debug.h

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 08:19:21 PDT 2021


DiggerLin created this revision.
Herald added subscribers: kbarton, hiraditya, nemanjai.
DiggerLin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The bit order of the has_vec and longtbtable bits in the traceback table generated by the XL compiler has flipped since v13.1. This is different from the definition is the AIX header debug.h. The wyvern compiler and the unwinder use the bit order as the v13.1 compiler and higher. It was decided that the wyvern compiler should follow the bit order as defined by the AIX header.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105487

Files:
  llvm/include/llvm/BinaryFormat/XCOFF.h
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll
  llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo.ll
  llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-vectorinfo_hasvarg.ll
  llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll
  llvm/test/CodeGen/PowerPC/aix-exception.ll
  llvm/test/CodeGen/PowerPC/aix-tracetable-csr.ll
  llvm/test/DebugInfo/XCOFF/empty.ll
  llvm/test/DebugInfo/XCOFF/explicit-section.ll
  llvm/test/DebugInfo/XCOFF/function-sections.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105487.356734.patch
Type: text/x-patch
Size: 17096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210706/d5c9ca59/attachment.bin>


More information about the llvm-commits mailing list