Page MenuHomePhabricator

[LLDB][MIPS] Handle PIC calling convention for MIPS64
ClosedPublic

Authored by bhushan on Jan 11 2016, 1:00 AM.

Details

Reviewers
clayborg
Summary

The PIC calling convention for MIPS requires that on entry to a function, register r25 (t9) holds the address of the function’s entry point.
This patch sets up register r25 with the address of function to be called in PrepareTrivialCall().

Diff Detail

Repository
rL LLVM

Event Timeline

bhushan updated this revision to Diff 44435.Jan 11 2016, 1:00 AM
bhushan retitled this revision from to [LLDB][MIPS] Handle PIC calling convention for MIPS64 .
bhushan updated this object.
bhushan added a reviewer: clayborg.
bhushan set the repository for this revision to rL LLVM.
clayborg accepted this revision.Jan 11 2016, 10:52 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Jan 11 2016, 10:52 AM