[LLDB][MIPS] Handle PIC calling convention for MIPS32
authorBhushan D. Attarde <Bhushan.Attarde@imgtec.com>
Tue, 8 Dec 2015 06:05:57 +0000 (06:05 +0000)
committerBhushan D. Attarde <Bhushan.Attarde@imgtec.com>
Tue, 8 Dec 2015 06:05:57 +0000 (06:05 +0000)
commit56222509c3bcc1253cfc4e05d730338258b978f8
tree6df90d85a41ed328b8a8510d90a7de10fd6e5c30
parentbd44cd9d5572193b5d7f34c56419bd7f4603da7f
[LLDB][MIPS] Handle PIC calling convention for MIPS32

    SUMMARY:
    - PrepareTrivialCall() to setup register r25 with the address of function to be called.
    - RegisterIsCalleeSaved() to use name of a register instead of its byte_offset.

    Reviewers: clayborg
    Subscribers: mohit.bhakkad, sagar, jaydeep, lldb-commits
    Differential Revision: http://reviews.llvm.org/D15273

llvm-svn: 255005
lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp