diff options
author | Alina Sbirlea <asbirlea@google.com> | 2016-07-14 22:02:35 +0000 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2016-07-14 22:02:35 +0000 |
commit | 36f57fbc66a70bc427805e47605d720c16dcf522 (patch) | |
tree | cf413adcf1e5945ead4b24bd8fec224dcf3ddb72 /lldb/source/Commands/CommandObjectWatchpointCommand.cpp | |
parent | 7aea5906c0cd284098294d9c626e8f9aae86fdbe (diff) | |
download | bcm5719-llvm-36f57fbc66a70bc427805e47605d720c16dcf522.tar.gz bcm5719-llvm-36f57fbc66a70bc427805e47605d720c16dcf522.zip |
Add runtime support for __cpu_model (__builtin_cpu_supports)
Summary:
This aims to add support for __cpu_model and address Bug 25510. It uses
the code from lib/Support/Host.cpp for cpu detection, and creates
__cpu_model with that info.
Tested on OSX and built on Linux as well (though libgcc is the default).
The use of "asm" required -std=gnu99, hence the cmake change. Corrections
on better addressing this are welcome.
Previously reverted, up for review again to iron out outstanding issues.
Reviewers: llvm-commits, joerg, echristo, mehdi_amini
Subscribers: mehdi_amini
Differential Revision: http://reviews.llvm.org/D22181
llvm-svn: 275484
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions