[llvm-bugs] [Bug 37129] New: Triple normalization may return different strings for equivalent triples

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 13 15:06:37 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37129

            Bug ID: 37129
           Summary: Triple normalization may return different strings for
                    equivalent triples
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: phosek at chromium.org
                CC: llvm-bugs at lists.llvm.org

LLVM triple normalization seems to be mishandling "unknown" and empty
components; for example given "x86_64-unknown-linux-gnu" and "x86_64-linux-gnu"
which should be equivalent, triple normalization returns
"x86_64-unknown-linux-gnu" and "x86_64--linux-gnu".

autoconf's config.sub return "x86_64-unknown-linux-gnu" for both `config.sub
x86_64-linux-gnu` and `x86_64-unknown-linux-gnu`, LLVM triple normalization
should ideally behave the same way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180413/5c42bd4b/attachment.html>


More information about the llvm-bugs mailing list