[PATCH] [CodeGen] Force emission of personality directive if explicitly specified

Keno Fischer kfischer at college.harvard.edu
Wed Jul 1 15:15:44 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/CodeGen/AsmPrinter/DwarfCFIException.cpp:95
@@ -94,2 +94,3 @@
   bool hasLandingPads = !MMI->getLandingPads().empty();
+  bool forceEmitPersonality = MF->getFunction()->hasPersonalityFn();
 
----------------
majnemer wrote:
> should we require that it's not nounwind?
Right, yes, we discussed that on IRC.

http://reviews.llvm.org/D10884

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list