[LLVMbugs] [Bug 14182] New: LLVM does not error on invalid target triples

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 25 13:52:41 PDT 2012


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

             Bug #: 14182
           Summary: LLVM does not error on invalid target triples
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: default_357-feep at yahoo.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When using something like target triple = i686-mingw32, LLVM will not error but
silently parse incorrect information. The given example used to work because
LLVM matched MinGW by doing TT.find("mingw"). As such, now that it parses
triples properly, it should error if confronted with an invalid target triple.

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