HomePhabricator

[libfuzzer][MSVC] Make calls to builtin functions work with MSVC

Description

[libfuzzer][MSVC] Make calls to builtin functions work with MSVC

Summary:
Replace calls to builtin functions with macros or functions that call the
Windows-equivalents when targeting windows and call the original
builtin functions everywhere else.
This change makes more parts of libFuzzer buildable with MSVC.

Reviewers: vitalybuka

Reviewed By: vitalybuka

Subscribers: mgorny, rnk, thakis

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

Details

Committed
metzmanJan 9 2019, 1:46 PM
Reviewer
vitalybuka
Differential Revision
D56439: [libfuzzer][MSVC] Make calls to builtin functions work with MSVC
Parents
rL350765: [clang-tidy] another take at fixing doc
Branches
Unknown
Tags
Unknown