[LLVMbugs] [Bug 1871] New: Need to remove IncludeFile

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 18 11:11:16 PST 2007


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

           Summary: Need to remove IncludeFile
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org
                CC: llvmbugs at cs.uiuc.edu


IncludeFile was added as a hack to allow building stuff as .a files and
ensuring that stuff gets linked in appropriately.  It was then extended to
support abuse when trying to dynamically load plugins.

This whole idea is flawed: symbols should be resolved the normal way, the
simple act of #including a header should not pollute the .o file. 
Unfortunately, fixing this may require some work in the passmanager. 
Currently, I don't think that getAnalysis<somepass>() adds a symbol dependency
between the .o file that does that and the .o file that implements somepass.

-Chris


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