[cfe-commits] r156487 - /cfe/trunk/lib/Driver/Tools.cpp

Chandler Carruth chandlerc at google.com
Wed May 9 11:21:35 PDT 2012


On Wed, May 9, 2012 at 11:10 AM, Bob Wilson <bob.wilson at apple.com> wrote:

>
> On May 9, 2012, at 11:01 AM, Chandler Carruth <chandlerc at google.com>
> wrote:
>
> On Wed, May 9, 2012 at 10:53 AM, Bob Wilson <bob.wilson at apple.com> wrote:
>
>> Author: bwilson
>> Date: Wed May  9 12:53:10 2012
>> New Revision: 156487
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=156487&view=rev
>> Log:
>> Ignore a "generic" return value from getHostCPUName.  <
>> rdar://problem/11314502>
>>
>
> Is this in a testable codepath?
>
>
> I don't think so.  getHostCPUName uses the CPUID instruction to check the
> processor that it's running on.  I tested it by temporarily hacking that
> function to always return "generic" but I don't think there's a way to test
> it otherwise.
>

Yea, that was my memory as well. Oh well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120509/da802cfb/attachment.html>


More information about the cfe-commits mailing list