[PATCH] D21232: Add attribute noreturn to functions that throw
    Marshall Clow via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Aug 24 10:45:05 PDT 2016
    
    
  
mclow.lists added a comment.
> I don't know how the find if assertions are enabled, so I added noreturn only when exceptions are enabled.
I think the plan is to replace the assertions with a call to `terminate()` (or maybe `abort()`). We certainly don't want those functions returning via the normal mechanism.
https://reviews.llvm.org/D21232
    
    
More information about the llvm-commits
mailing list