<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Host.cpp fails to build using Xcode 4.6.3: use of undeclared identifier '__get_cpuid_max'"
href="https://llvm.org/bugs/show_bug.cgi?id=30384">30384</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Host.cpp fails to build using Xcode 4.6.3: use of undeclared identifier '__get_cpuid_max'
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremyhu@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Using clang clang-425.0.28 (based on 3.2svn), Host.cpp fails to compile with:
lib/Support/Host.cpp:751:7: error: use of undeclared identifier
'__get_cpuid_max'
if(!__get_cpuid_max(0, &Vendor))
^
1 error generated.
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/Host.cpp.o] Error 1
---
Regressed in:
commit e422546afbbfc6c8df94b906120d8a9c9e500b31
Author: Alina Sbirlea <<a href="mailto:asbirlea@google.com">asbirlea@google.com</a>>
Date: Wed Jul 20 18:15:29 2016 +0000
[cpu-detection] Cleanup of Host.cpp.
Summary:
Mirroring most cleanup changed from compiler-rt/lib/builtins/cpu_model.
x86 methods are still returning a bool.
Reviewers: llvm-commits, echristo, craig.topper, sanjoy
Subscribers: mehdi_amini
Differential Revision: <a href="https://reviews.llvm.org/D22480">https://reviews.llvm.org/D22480</a>
git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@276149">https://llvm.org/svn/llvm-project/llvm/trunk@276149</a>
91177308-0d34-0410-b5e6-96231b3b80d8</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>