On May 9, 2012, at 11:01 AM, Chandler Carruth <[email protected]> wrote:

> On Wed, May 9, 2012 at 10:53 AM, Bob Wilson <[email protected]> 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.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to