diff options
author | Alan Zhao <ayzhao@google.com> | 2022-03-18 18:08:04 +0100 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2022-03-18 18:13:52 +0100 |
commit | 8cd8bd4a5ca702024b9df53a9c7984bb700488a0 (patch) | |
tree | 860884482d7b0d3484c455f249d07305d9dc651d /lldb/source/Commands/CommandObjectThread.cpp | |
parent | a014cb865042872521ea2dcdf2bb2730de5dadde (diff) | |
download | llvm-8cd8bd4a5ca702024b9df53a9c7984bb700488a0.zip llvm-8cd8bd4a5ca702024b9df53a9c7984bb700488a0.tar.gz llvm-8cd8bd4a5ca702024b9df53a9c7984bb700488a0.tar.bz2 |
Implement __cpuid and __cpuidex as Clang builtins
https://reviews.llvm.org/D23944 implemented the #pragma intrinsic from
MSVC. This causes the statement #pragma intrinsic(cpuid) to fail [0]
on Clang because cpuid is currently implemented in intrin.h instead
of a Clang builtin. Reimplementing cpuid (as well as it's releated
function, cpuidex) should resolve this.
[0]: https://crbug.com/1279344
Differential revision: https://reviews.llvm.org/D121653
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions