[PATCH] D146966: [MSP430] Add CFI instructions for MSP430.

Ilia Kuklin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 27 07:50:10 PDT 2023


kuilpd created this revision.
kuilpd added a reviewer: asl.
kuilpd added a project: LLVM.
Herald added subscribers: hiraditya, arichardson.
Herald added a project: All.
kuilpd requested review of this revision.
Herald added a subscriber: llvm-commits.

Implement emission of DWARF CFI instructions for MSP430. This includes descriptions of stack frame layout and location of callee-saved registers that could be used for backtracing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146966

Files:
  llvm/lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.cpp
  llvm/lib/Target/MSP430/MCTargetDesc/MSP430InstPrinter.h
  llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
  llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h
  llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp
  llvm/lib/Target/MSP430/MSP430FrameLowering.cpp
  llvm/lib/Target/MSP430/MSP430FrameLowering.h
  llvm/lib/Target/MSP430/MSP430InstrInfo.h
  llvm/lib/Target/MSP430/MSP430RegisterInfo.h
  llvm/lib/Target/MSP430/MSP430RegisterInfo.td
  llvm/lib/Target/MSP430/MSP430Subtarget.cpp
  llvm/lib/Target/MSP430/MSP430Subtarget.h
  llvm/test/CodeGen/MSP430/asm-clobbers.ll
  llvm/test/CodeGen/MSP430/callee-saved.ll
  llvm/test/CodeGen/MSP430/interrupt.ll
  llvm/test/CodeGen/MSP430/jumptable.ll
  llvm/test/DebugInfo/MSP430/dwarf-basics-v5.ll
  llvm/test/DebugInfo/MSP430/dwarf-basics.ll
  llvm/test/DebugInfo/MSP430/fp-vla-callee-saved.ll
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/msp430_function_name.ll.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/msp430_generated_funcs.ll.generated.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/msp430_generated_funcs.ll.nogenerated.expected

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146966.508656.patch
Type: text/x-patch
Size: 36813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230327/57dfae77/attachment.bin>


More information about the llvm-commits mailing list