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

Here llvm.eh.selector is declared like this: i32 %(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

Clang++ is correct. I fixed the documentation.