[mips] LLVM and GAS now use same instructions for CFA Definition. NFCI
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 15 May 2019 12:05:27 +0000 (12:05 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 15 May 2019 12:05:27 +0000 (12:05 +0000)
commit4c68c5ae7194fc7e50208ac97d1142687125b55b
tree17405f1f02f6c106983fe98d97d942c50684f26f
parent0a5efc28dba5caf7c3fb79ded9984b5dd1479587
[mips] LLVM and GAS now use same instructions for CFA Definition. NFCI

LLVM previously used `DW_CFA_def_cfa` instruction in .eh_frame to set
the register and offset for current CFA rule. We change it to
`DW_CFA_def_cfa_register` which is the same one used by GAS that only
changes the register but keeping the old offset.

Patch by Mirko Brkusanin.

Differential Revision: https://reviews.llvm.org/D61899

llvm-svn: 360765
llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
llvm/test/MC/Mips/cfi-advance-loc.s
llvm/test/MC/Mips/cfi-encoding.s
llvm/test/MC/Mips/eh-frame.s