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

            Bug ID: 16636
           Summary: LLVM_HOST_TRIPLE is not Normalized
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10884
  --> http://llvm.org/bugs/attachment.cgi?id=10884&action=edit
Proposed patch

LLVM_HOST_TRIPLE is not normalized. Consequently, std::string
sys::getProcessTriple returns an invalid triple. The solution is to call
llvm::Triple::normalize on LLVM_HOST_TRIPLE before passing it to the
llvm::Triple constructor. Alternatively, the triple constructor could call
llvm::Triple::normalize internally. I have attached a patch for the first
proposed solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to