[LLVMbugs] [Bug 315] NEW: abort, don't warn, when missing external functions encountered

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Apr 8 13:44:31 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=315

           Summary: abort, don't warn, when missing external functions
                    encountered
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Target-Independent JIT
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gaeke+bugs at uiuc.edu


I have a note in my tree that says that, at one point, we decided that it
would be better (in many cases) to abort than to proceed using a 
dummy no-op function when JIT::getPointerToNamedFunction() fails
to find an external function -- except when that function is __main().

We could have a command-line option to turn this abort on or off: if
the option was turned off, the JIT would proceed with the warning as
it does now. The option would be turned on by default.

I started to write a patch for this a long time ago, but it's bit-rotted
by now. It shouldn't be too hard.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list