[LLVMbugs] [Bug 6544] New: LLVMSystem cant use ADT/StringMap due to circular dependency with LLVMSupport

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 8 04:46:20 PST 2010


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

           Summary: LLVMSystem cant use ADT/StringMap due to circular
                    dependency with LLVMSupport
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Archive library
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: xerxes at zafena.se
                CC: llvmbugs at cs.uiuc.edu


LLVMSystem cant use ADT/StringMap since ADT/StingMap are part of LLVMSupport
and that would create a circular dependency.

LLVMSystem needs to use ADT/StringMap in order to add implemenations for
sys::getHostCPUFeatures(StringMap<bool> &Features)
into
llvm/lib/System/Host.cpp

The correct solution would be to extract all ADT parts from LLVMSupport and
make a new library LLVMADT that can be used by both LLVMSystem and LLVMSupport.

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