[PATCH] D33027: [XRay] Fix XRay PPC return value bug.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 21:22:35 PDT 2017


timshen created this revision.
Herald added a subscriber: nemanjai.

This bug is caused by the incorrect handling of return-value registers.

According to OpenPOWER 64-Bit ELF V2 ABI 2.2.5, up to 2 general-purpose
registers are going to be used for return values, and up to 8 floating
point registers or vector registers are going to be used for return
values.


https://reviews.llvm.org/D33027

Files:
  compiler-rt/lib/xray/xray_trampoline_powerpc64_asm.S
  compiler-rt/test/xray/TestCases/Linux/coverage-sample.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33027.98397.patch
Type: text/x-patch
Size: 2761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170510/14a76f13/attachment.bin>


More information about the llvm-commits mailing list