[LLVMbugs] [Bug 8975] New: llc should warn about invalid target triple

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 14 04:31:36 PST 2011


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

           Summary: llc should warn about invalid target triple
           Product: tools
           Version: 2.8
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: llvm at henning-thielemann.de
                CC: llvmbugs at cs.uiuc.edu


When I write an invalid target triple into an LL file,
then llc generates a CPP file without any warning.
It should at least give a warning, but better fail.
The message could also tell how to find out available target-triples.

$ cat invalidtarget.ll
target triple = "invalid"

define i8 @func(i8) {
_L1:
  ret i8 %0
}

$ llc invalidtarget.ll
$ ls -1 invalidtarget.*
invalidtarget.cpp
invalidtarget.ll

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