[PATCH] D100735: [CodeGen] Enable Windows exception handling for basic block sections

TaoPan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 18 18:18:40 PDT 2021


TaoPan created this revision.
TaoPan added reviewers: tmsriram, snehasish, MaskRay, modimo, pengfei.
Herald added subscribers: mstorsjo, hiraditya.
TaoPan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Windows x64 exception handling is quite different with Exception
Handling of Itanium C++ ABI for IA-64, no need to do EH pad operation.

Reference:
https://docs.microsoft.com/en-us/cpp/build/exception-handling-x64?view=msvc-160
https://github.com/itanium-cxx-abi/cxx-abi/blob/master/exceptions.pdf

This patch includes modification of submitted but not landed D99487 <https://reviews.llvm.org/D99487>,
it's for easier reviewing the whole behavior of basic block sections
on Windows, duplicated part will be removed when git rebase.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100735

Files:
  llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/test/MC/COFF/seh-bbs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100735.338406.patch
Type: text/x-patch
Size: 24631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210419/2db893c5/attachment.bin>


More information about the llvm-commits mailing list