Yuri
2010-Dec-09 21:23 UTC
[LLVMdev] Why declaration of llvm.eh.selector differs between documentation and in .ll code written by clang++?
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>
Bill Wendling
2010-Dec-09 23:08 UTC
[LLVMdev] Why declaration of llvm.eh.selector differs between documentation and in .ll code written by clang++?
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>