[LLVMbugs] [Bug 2712] Hello, World in `Writing an LLVM Pass' does not work

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 15 16:13:20 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=2712


Peter Hawkins <hawkinsp at cs.stanford.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hawkinsp at cs.stanford.edu
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




--- Comment #2 from Peter Hawkins <hawkinsp at cs.stanford.edu>  2008-12-15 18:13:19 ---
Hi...

I just experienced this problem as well.

The problem is that the Hello world pass in the "Writing an LLVM pass"
documentation is out of date; the Makefile no longer matches the Hello world
example in the LLVM tree (the LLVMLIBS line).

I have no problems building the copy in the LLVM source tree.

However, if you copy and paste the example from:
http://llvm.org/docs/WritingAnLLVMPass.html
(as at December 15 2008)
then it fails with the error that the original bug reporter gave. The
documentation in SVN is also incorrect.

Cheers,
Peter


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list