[all-commits] [llvm/llvm-project] bd240b: [AIX][XCOFF] generate eh_info when vector register...

diggerlin via All-commits all-commits at lists.llvm.org
Tue Jun 22 10:02:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd240b3d77c4157a99d029fa9fa431c53b748ef1
      https://github.com/llvm/llvm-project/commit/bd240b3d77c4157a99d029fa9fa431c53b748ef1
  Author: zhijian <zhijian at ca.ibm.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AIXException.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll

  Log Message:
  -----------
  [AIX][XCOFF] generate eh_info when vector registers are saved according to the traceback table.

Summary:

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

Reviewers: Jason Liu
Differential Revision: https://reviews.llvm.org/D103651




More information about the All-commits mailing list