[LLVMdev] [PATCH] 8975 - llc should warn about invalid target triple

César divcesar at gmail.com
Wed Jun 6 16:30:48 PDT 2012


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/attachments/20120606/8dd1d0d5/attachment.obj>


More information about the llvm-dev mailing list