https://llvm.org/bugs/show_bug.cgi?id=30384
Bug ID: 30384
Summary: Host.cpp fails to build using Xcode 4.6.3: use of
undeclared identifier '__get_cpuid_max'
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
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 <[email protected]>
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: https://reviews.llvm.org/D22480
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276149
91177308-0d34-0410-b5e6-96231b3b80d8
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs