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

Yuri yuri at rawbw.com
Thu Dec 9 13:23:02 PST 2010


Here http://llvm.org/docs/ExceptionHandling.html#llvm_eh_selector 
llvm.eh.selector is declared like this:
i32 %llvm.eh.selector 
<http://llvm.org/docs/ExceptionHandling.html#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?

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


More information about the llvm-dev mailing list