rjmccall added inline comments. ================ Comment at: lib/CodeGen/CGException.cpp:276 @@ +275,3 @@ + llvm::Function *F = dyn_cast<llvm::Function>(U); + if (!U) return false; + ---------------- if (!F)
You should test this by adding an uncommon use of the personality function. Just declare it as a global function (the type doesn't really matter) and take its address somewhere. http://reviews.llvm.org/D12743 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits