[PATCH] D103651: [AIX] generate eh_info when vector registers are saved according to the traceback table.

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 15:07:03 PDT 2021


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

generate eh_info when vector registers are saved according to the traceback table.

struct eh_info_t {

  unsigned version;       /* EH info version 0 */

#if defined(__64BIT__)

  char _pad[4];           /* padding */

#endif

  unsigned long lsda;     /* Pointer to Language Specific Data Area */
  unsigned long personality; /* Pointer to the personality routine */

};

the value of  lsda and personality is  zero when the number of vector registers saved is large  zero  and there is  not personality  of the function


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103651

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103651.349702.patch
Type: text/x-patch
Size: 8271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210603/cdba7bc9/attachment.bin>


More information about the llvm-commits mailing list