[PATCH] D15599: [CodeGen] Fix a crash that occurs when attribute "naked" is attached to a c++ member function

Manman Ren via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 25 14:07:37 PST 2016


manmanren added inline comments.

================
Comment at: lib/CodeGen/CodeGenFunction.cpp:1998
@@ +1997,3 @@
+  if (auto *T = EntryBB->getTerminator())
+    T->eraseFromParent();
+
----------------
Yes, you are right.


http://reviews.llvm.org/D15599





More information about the cfe-commits mailing list