[LLVMbugs] [Bug 2666] Inliner optimizatin deletes Functions even if there are pointers to them in the stub- >function map

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Aug 11 16:16:02 PDT 2008


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


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Chris Lattner <clattner at apple.com>  2008-08-11 18:16:01 ---
This is 'behaves correctly'.  To avoid this behavior, you should change the
linkage of functions to "external"  if the jit has a reference to them.  This
will prevent the inliner from deleting them.  We can't have the inliner know
about the JIT or the JIT know about the inliner.


-- 
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