[LLVMbugs] [Bug 2712] Hello, World in `Writing an LLVM Pass' does not work
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 7 06:12:45 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=2712
Roel Jordans <r.jordans at tue.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |r.jordans at tue.nl
Resolution|WORKSFORME |
--- Comment #4 from Roel Jordans <r.jordans at tue.nl> 2011-12-07 08:12:45 CST ---
The current version on the website still has the problem of crashing when
executed.
http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-January/037761.html
Describes how to fix this. Apparently the line
Hello() : FunctionPass(ID) {}
Should be rewritten as
Hello() : FunctionPass(&ID) {}
This is already corrected in the example included in the source code but not in
the documentation
--
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