[PATCH] D73739: Exception support for basic block sections

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 14:54:24 PDT 2020


rahmanl updated this revision to Diff 291092.
rahmanl added a comment.

- Rebase.
- Override X86InstrInfo::InsertNoops and use it in BasicBlockSections.cpp to emit a NOP before the first EH pad.
- Create a lambda function for duplicated code in EHStreamer.cpp.
- Change some references to const.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73739

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
  llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
  llvm/lib/CodeGen/AsmPrinter/EHStreamer.h
  llvm/lib/CodeGen/AsmPrinter/WasmException.cpp
  llvm/lib/CodeGen/AsmPrinter/WasmException.h
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/Target/X86/X86InstrInfo.cpp
  llvm/lib/Target/X86/X86InstrInfo.h
  llvm/test/CodeGen/X86/gcc_except_table_bb_sections.ll
  llvm/test/CodeGen/X86/gcc_except_table_bb_sections_ehpad_groups_with_cold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73739.291092.patch
Type: text/x-patch
Size: 35938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200910/3855bb6b/attachment.bin>


More information about the llvm-commits mailing list