aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-02-12 22:00:46 +0200
committerMartin Storsjö <martin@martin.st>2022-02-14 22:11:22 +0200
commit7b89360d3a14705ebe41b1a5c5da65791d523d4f (patch)
tree6d4a01ab72824db6583b22d2dfbe8b03a07868eb /lldb/source/Commands/CommandObjectCommands.cpp
parent1234011b80f835a297482467ca6ca2099677c39c (diff)
downloadllvm-7b89360d3a14705ebe41b1a5c5da65791d523d4f.zip
llvm-7b89360d3a14705ebe41b1a5c5da65791d523d4f.tar.gz
llvm-7b89360d3a14705ebe41b1a5c5da65791d523d4f.tar.bz2
[libcxx] Fix setup of MSVC specific intrinsics in Ryu code
This fixes warnings about implicitly declared `_umul128` and `__shiftright128` when building for x86_64 with clang-cl. Use `_MSC_VER` instead of `_LIBCPP_COMPILER_MSVC` for enabling MSVC specific code; `_MSC_VER` is defined both in clang-cl and MSVC, while `_LIBCPP_COMPILER_MSVC` only is defined if building with the actual MSVC compiler. Include `ryu.h` at the head of `d2s_intrinsics.h`, as it uses the `_LIBCPP_64_BIT` define, which is defined in `ryu.h`. Now the Ryu files build without warnings with clang-cl for i386, x86_64, arm and aarch64. Differential Revision: https://reviews.llvm.org/D119647
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions