[PATCH] D39532: [ARM] Use dwarf exception handling on MinGW

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 13:38:52 PDT 2017


compnerd added a comment.

We really do not want to use EHABI on Windows ARM.  We should be emitting the Windows exception tables, which would allow zero cost exceptions that can work across the boundary.  The information for that model is fully documented and decodable in the LLVM sources (I added all the necessary structures and the decoder for that a while ago).  I haven't had a chance to implement the necessary assembler support to enable the generation of the `.pdata` and `.xdata` sections.



================
Comment at: lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp:111
 
-  UseIntegratedAssembler = false;
-  DwarfRegNumForCFI = true;
+  UseIntegratedAssembler = true;
+  DwarfRegNumForCFI = false;
----------------
Why was this `false`?  Please tell me I didn't screw that up.


https://reviews.llvm.org/D39532





More information about the llvm-commits mailing list