[LLVMbugs] [Bug 6688] New: Triple ADT sometimes extracts wrong vendor and os

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 24 02:40:38 PDT 2010


           Summary: Triple ADT sometimes extracts wrong vendor and os
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

Here are some example triples printed by various gcc versions on my linux

1) System gcc: x86_64-linux-gnu
2) 32 bit system gcc: i486-linux-gnu
3) ACT supplied gcc: x86_64-pc-linux-gnu
4) 32 bit ACT supplied gcc: i686-pc-linux-gnu
5) self-built gcc-4.5: x86_64-unknown-linux-gnu
6) 32 bit self-built gcc-4.5: i686-pc-linux-gnu

If the Triple class is instantiated with 1) or 2) then
getVendor and getOS return their 'unknown' value.

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