[LLVMdev] create dummy function

Renato Golin rengolin at systemcall.org
Thu Nov 5 05:17:17 PST 2009


2009/11/5 Oleg Knut <oleg77 at gmail.com>:
> So, I believe this is just outdated information? I think it just need
> some quick attention with getting materials up to date.

Yup, outdated information. If you see the same example on the svn tree
(examples/Kaleidoscope) the code is right and up-to-date.


> In the end I got following code, that satisfy my needs:

Return void an a dummy basic block, all you needed. ;)

Glad to help.

cheers,
--renato

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-dev mailing list