Displaying 2 results from an estimated 2 matches for "parsetargetdefinit".
2012 Jun 06
2
[LLVMdev] [PATCH] 8975 - llc should warn about invalid target triple
I changed Module::setTargetTriple to return true/false when an
invalid/valid triple is passed as parameter.
The validation is made using the ADT/Triple.cpp
Last I modified LLParser::ParseTargetDefinition() to check if the
return of setTargetTriple warns about an invalid triple.
John.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8975.diff
Type: application/octet-stream
Size: 2355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/a...
2012 Jun 07
0
[LLVMdev] [PATCH] 8975 - llc should warn about invalid target triple
...e time.
That's fine as long as you don't need those fields. What I am saying is
that a boolean value "valid" or "not valid" isn't very useful in my opinion.
Ciao, Duncan.
>
> The validation is made using the ADT/Triple.cpp
>
> Last I modified LLParser::ParseTargetDefinition() to check if the
> return of setTargetTriple warns about an invalid triple.
>
>
> John.
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mai...