[LLVMdev] Why declaration of llvm.eh.selector differs between documentation and in .ll code written by clang++?

Bill Wendling wendling at apple.com
Thu Dec 9 15:08:24 PST 2010


On Dec 9, 2010, at 1:23 PM, Yuri wrote:

> Here http://llvm.org/docs/ExceptionHandling.html#llvm_eh_selector llvm.eh.selector is declared like this:
> i32 %llvm.eh.selector(i8*, i8*, i8*, ...) 
> 
> But when clang++ (rev.121360) writes the module with exceptions, it writes it out like this:
> declare i32 @llvm.eh.selector(i8*, i8*, ...) nounwind
> 
> Why there is such descrepancy? Which one is correct?
> 
Clang++ is correct. I fixed the documentation.

Thanks!
-bw


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101209/6dd33499/attachment.html>


More information about the llvm-dev mailing list