[LLVMbugs] [Bug 16636] New: LLVM_HOST_TRIPLE is not Normalized
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 16 11:58:16 PDT 2013
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: unassignedbugs at nondot.org
Reporter: tjablin at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130716/35f80517/attachment.html>
More information about the llvm-bugs
mailing list