diff options
author | Dokyung Song <dokyungs@google.com> | 2020-07-14 21:02:32 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2020-07-14 21:31:56 +0000 |
commit | 226866e115de652b6fbc8f8195881a529ccb4b01 (patch) | |
tree | 1a54d2bbd15e2112f761d35ac992ff9b3db1d48a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9c87c5580575cefdebb02cc6685fb6b66fb375c9 (diff) | |
download | llvm-226866e115de652b6fbc8f8195881a529ccb4b01.zip llvm-226866e115de652b6fbc8f8195881a529ccb4b01.tar.gz llvm-226866e115de652b6fbc8f8195881a529ccb4b01.tar.bz2 |
[libFuzzer] Separate platform related macros out from FuzzerDefs.h into FuzzerPlatform.h, and adjust includes in other files.
Summary: This patch separates platform related macros in lib/fuzzer/FuzzerDefs.h into lib/fuzzer/FuzzerPlatform.h, and use FuzzerPlatform.h where necessary. This separation helps when compiling libFuzzer's interceptor module (under review); an unnecessary include of standard headers (such as string.h) may produce conflicts/ambiguation with the interceptor's declarations/definitions of library functions, which complicates interceptor implementation.
Reviewers: morehouse, hctim
Reviewed By: morehouse
Subscribers: krytarowski, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D83805
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions