[PATCH] D41230: [MIR] Add support for missing CFI directives

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 04:34:32 PST 2017


thegameg created this revision.
thegameg added reviewers: MatzeB, aprantl.
Herald added a subscriber: javed.absar.

The following CFI directives are suported by MC but not by MIR:

- .cfi_rel_offset
- .cfi_adjust_cfa_offset
- .cfi_escape
- .cfi_remember_state
- .cfi_restore_state
- .cfi_undefined
- .cfi_register
- .cfi_window_save

Add support for printing, parsing and update tests.


https://reviews.llvm.org/D41230

Files:
  include/llvm/CodeGen/MachineOperand.h
  lib/CodeGen/MIRParser/MILexer.cpp
  lib/CodeGen/MIRParser/MILexer.h
  lib/CodeGen/MIRParser/MIParser.cpp
  lib/CodeGen/MIRPrinter.cpp
  lib/CodeGen/MachineOperand.cpp
  test/CodeGen/MIR/AArch64/cfi.mir
  test/CodeGen/MIR/X86/shrink_wrap_dbg_value.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41230.126930.patch
Type: text/x-patch
Size: 15401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/724ff45d/attachment.bin>


More information about the llvm-commits mailing list