[PATCH] D92398: [AIX][XCOFF] emit traceback table for function in aix

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 08:45:23 PST 2020


DiggerLin marked 2 inline comments as done.
DiggerLin added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp:98
+  if (30 - Bits >= 0)
+    ParameterType |= Type << (30 - Bits);
+}
----------------
morehouse wrote:
> This line is causing UBSan errors:  http://lab.llvm.org:8011/#/builders/5/builds/2407/steps/2/logs/stdio
> Please fix or revert.
> 
> ```
> FAIL: LLVM :: CodeGen/PowerPC/aix-cc-abi.ll (45237 of 72201)
> ******************** TEST 'LLVM :: CodeGen/PowerPC/aix-cc-abi.ll' FAILED ********************
> ...
> Exit Code: 2
> Command Output (stderr):
> --
> /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp:98:27: runtime error: shift exponent 4294967294 is too large for 32-bit type 'int'
> ```
https://reviews.llvm.org/rG15f2d4f198380762e9fcf6b456d405078b87ae7a


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92398/new/

https://reviews.llvm.org/D92398



More information about the llvm-commits mailing list