[PATCH] Propagate -fno-unwind-tables to EHABI

Anton Korobeynikov anton at korobeynikov.info
Fri Mar 14 13:02:11 PDT 2014



================
Comment at: lib/CodeGen/AsmPrinter/ARMException.cpp:89
@@ -80,3 +88,3 @@
   ARMTargetStreamer &ATS = getTargetStreamer();
-  if (!Asm->MF->getFunction()->needsUnwindTableEntry())
+  if (Asm->MF->getFunction()->doesNotThrow())
     ATS.emitCantUnwind();
----------------
Does needsUnwindTableEntry() and doesNotThrow() do the same?


http://llvm-reviews.chandlerc.com/D3079



More information about the llvm-commits mailing list