]> granicus.if.org Git - clang/commit
IRGen: Emit an inline implementation of __builtin_wmemcmp on MSVCRT platforms.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 24 Jan 2018 18:59:58 +0000 (18:59 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 24 Jan 2018 18:59:58 +0000 (18:59 +0000)
commit902a9663bed4b699303d2d6c5836ced4dd12a69c
treefe2d1c6fe57a05400b9c18b7a66108623eec2cf1
parent28825cffe931202bdef523a652b652e1ffc26eaf
IRGen: Emit an inline implementation of __builtin_wmemcmp on MSVCRT platforms.

The MSVC runtime library does not provide a definition of wmemcmp,
so we need an inline implementation.

Differential Revision: https://reviews.llvm.org/D42441

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323362 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/wmemcmp.c [new file with mode: 0644]