summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.h
blob: 38aec67994905480af014ce9219e2fb2c4e4439c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//==-- handle_llvm.h - Helper function for Clang fuzzers -------------------==//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Defines HandleLLVM for use by the Clang fuzzers.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_LLVM_HANDLELLVM_H
#define LLVM_CLANG_TOOLS_CLANG_FUZZER_HANDLE_LLVM_HANDLELLVM_H

#include <string>
#include <vector>

namespace clang_fuzzer {
void HandleLLVM(const std::string &S,
               const std::vector<const char *> &ExtraArgs);
} // namespace clang_fuzzer

#endif
OpenPOWER on IntegriCloud