[LLVMbugs] [Bug 5737] New: available_externally should be discoverable on ghost functions

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 9 13:29:12 PST 2009


           Summary: available_externally should be discoverable on ghost
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jyasskin at google.com
                CC: llvmbugs at cs.uiuc.edu, nlewycky at google.com

Before a function has been lazy-loaded from bitcode, its linkage is 'ghost'.
When the JIT needs the address of an available_externally function, it needs to
dlsym it from the main executable, but it has to waste time loading the
function from bitcode to determine that it doesn't need any of the IR it just

If 'ghost' or 'available_externally' were something other than a linkage, this
wouldn't be a problem.

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