This is an archive of the discontinued LLVM Phabricator instance.

[XRay] Fix XRay PPC return value bug.
ClosedPublic

Authored by timshen on May 9 2017, 9:22 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

timshen created this revision.May 9 2017, 9:22 PM
dberris accepted this revision.May 9 2017, 10:05 PM

LGTM

This revision is now accepted and ready to land.May 9 2017, 10:05 PM
This revision was automatically updated to reflect the committed changes.