Bug#526803: llvm-doc: doc version does not seem to correspond to llvm version

Jérémy Lal kapouer at melix.org
Fri May 29 09:14:00 UTC 2009


On 28/05/2009 19:50, Y Giridhar Appaji Nag wrote:
> Hi Jeremy,
>
> On 09/05/03 18:50 +0200, Jeremy Lal said ...
>> Because compiling the tutorial code gives compiler errors,
>> whereas the online tutorial code does not.
>
> Is this the same as bug #501666?  If not, what errors do you get?
>
> Cheers,
>
> Giridhar
>
It is not the same as #501666,
the problem is about the code that is shown in the tutorial documentation,
which is not up to date with upstream tutorial doc :
http://llvm.org/docs/tutorial/JITTutorial1.html
http://localhost/cgi-bin/dwww/usr/share/doc/llvm-doc/html/tutorial/JITTutorial1.html

a diff shows :
<   PM.add(createPrintModulePass(&amp;outs()));
---
>   PM.add(new PrintModulePass(&amp;llvm::cout));
157c156
<   IRBuilder&lt;&gt; builder(block);
---
>   IRBuilder builder(block);

Regards,
Jérémy Lal







More information about the Pkg-llvm-team mailing list