[LLVMbugs] [Bug 350] NEW: Config/*.h should only be included by files in lib/Support

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu May 27 14:10:40 PDT 2004


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

           Summary: Config/*.h should only be included by files in
                    lib/Support
           Product: Build scripts
           Version: cvs
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: autoconf
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


Currently the files in include/Config are #included by stuff all over LLVM. 
Actually it's not THAT bad, but it's worse than we want it.  Currently, the
following are effected:
  lib/Bytecode/Reader
  lib/ExecutionEngine/*/*
  lib/Target/CBackend/
  lib/Target/SparcV9/*
  tools/{bugpoint/gccld/llee/fpcmp}

What we really want is for LLVM to go through libsupport to get to the system. 
In particular, we use mmap in many places without an abstraction layer, which
isn't good.  :(

-Chris



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