MIR Serialization: Start serializing the CFI operands with .cfi_def_cfa_offset.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 21 Jul 2015 22:28:27 +0000 (22:28 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 21 Jul 2015 22:28:27 +0000 (22:28 +0000)
commit1b75dd2bc23ec559555a2f9decef82dddfe720f1
tree4102a277946fe8b4ee3b2cf12184999fe4d28402
parentf17fb8d947c5ec6673c6dee3c8bd670b9b78e47e
MIR Serialization: Start serializing the CFI operands with .cfi_def_cfa_offset.

This commit begins serialization of the CFI index machine operands by
serializing one kind of CFI instruction - the .cfi_def_cfa_offset instruction.

Reviewers: Duncan P. N. Exon Smith

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MIRParser/MILexer.cpp
lib/CodeGen/MIRParser/MILexer.h
lib/CodeGen/MIRParser/MIParser.cpp
lib/CodeGen/MIRPrinter.cpp
test/CodeGen/MIR/X86/cfi-def-cfa-offset.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/expected-offset-after-cfi-operand.mir [new file with mode: 0644]
test/CodeGen/MIR/X86/large-cfi-offset-number-error.mir [new file with mode: 0644]