[PATCH] D79978: Call Frame Information (CFI) Handling for Basic Block Sections

Sriraman Tallam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 12 16:00:19 PDT 2020


tmsriram updated this revision to Diff 277306.
tmsriram marked 8 inline comments as done.
tmsriram edited the summary of this revision.
tmsriram added a comment.

- Change the callee saved register test to use a simple clobber on all callee saved registers and test cfi_offset for all the callee-save registers including rbp.
- The tests now cover the 2 issues that need special handling with sections:  CFA tracking with and without frame pointer and cfi directives for callee saved registers.
- Other reviewer mentioned changes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79978/new/

https://reviews.llvm.org/D79978

Files:
  llvm/include/llvm/CodeGen/TargetFrameLowering.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfException.h
  llvm/lib/CodeGen/CFIInstrInserter.cpp
  llvm/lib/Target/AArch64/AArch64FrameLowering.h
  llvm/lib/Target/X86/X86FrameLowering.cpp
  llvm/lib/Target/X86/X86FrameLowering.h
  llvm/test/CodeGen/X86/cfi-basic-block-sections-1.ll
  llvm/test/CodeGen/X86/cfi-inserter-basic-block-sections-callee-save-registers.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79978.277306.patch
Type: text/x-patch
Size: 15918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200712/5ca28d8b/attachment-0001.bin>


More information about the llvm-commits mailing list