1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Fuzzer
Eric Fiselier db10580e9b [CMake] Fix pthread handling for out-of-tree builds
LLVM defines `PTHREAD_LIB` which is used by AddLLVM.cmake and various projects
to correctly link the threading library when needed. Unfortunately
`PTHREAD_LIB` is defined by LLVM's `config-ix.cmake` file which isn't installed
and therefore can't be used when configuring out-of-tree builds. This causes
such builds to fail since `pthread` isn't being correctly linked.

This patch attempts to fix that problem by renaming and exporting
`LLVM_PTHREAD_LIB` as part of`LLVMConfig.cmake`. I renamed `PTHREAD_LIB`
because It seemed likely to cause collisions with downstream users of
`LLVMConfig.cmake`.

llvm-svn: 294690
2017-02-10 01:59:20 +00:00
..
afl
standalone
test [libFuzzer] Export external functions on tests. 2017-02-10 01:40:28 +00:00
build.sh
CMakeLists.txt [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
cxx.dict
FuzzerCorpus.h [libFuzzer] replace std::random_shuffle with std::shuffle as std::random_shuffle is being deprecated in C++17. Also simplify fuzzer::Random. NFC 2017-02-07 22:37:34 +00:00
FuzzerCrossOver.cpp
FuzzerDefs.h [libFuzzer] simplify the code for __sanitizer_cov_trace_pc_guard and make sure it is not asan/msan-instrumented 2017-01-26 01:04:54 +00:00
FuzzerDictionary.h
FuzzerDriver.cpp [libFuzzer] increase the default size for shmem 2017-02-01 00:07:47 +00:00
FuzzerExtFunctions.def
FuzzerExtFunctions.h
FuzzerExtFunctionsDlsym.cpp
FuzzerExtFunctionsDlsymWin.cpp [libFuzzer] Use dynamic loading for External Functions on Windows. 2017-02-10 01:35:46 +00:00
FuzzerExtFunctionsWeak.cpp
FuzzerExtFunctionsWeakAlias.cpp
FuzzerFlags.def
FuzzerInterface.h
FuzzerInternal.h [libFuzzer] remove a bit of stale code 2017-01-26 01:45:54 +00:00
FuzzerIO.cpp [libFuzzer] Properly use Handle instead of FD on Windows. 2017-02-08 00:03:18 +00:00
FuzzerIO.h [libFuzzer] Properly use Handle instead of FD on Windows. 2017-02-08 00:03:18 +00:00
FuzzerIOPosix.cpp [libFuzzer] Properly use Handle instead of FD on Windows. 2017-02-08 00:03:18 +00:00
FuzzerIOWindows.cpp [libFuzzer] Properly use Handle instead of FD on Windows. 2017-02-08 00:03:18 +00:00
FuzzerLoop.cpp [libFuzzer] replace std::random_shuffle with std::shuffle as std::random_shuffle is being deprecated in C++17. Also simplify fuzzer::Random. NFC 2017-02-07 22:37:34 +00:00
FuzzerMain.cpp
FuzzerMerge.cpp
FuzzerMerge.h
FuzzerMutate.cpp [libFuzzer] replace std::random_shuffle with std::shuffle as std::random_shuffle is being deprecated in C++17. Also simplify fuzzer::Random. NFC 2017-02-07 22:37:34 +00:00
FuzzerMutate.h
FuzzerOptions.h
FuzzerRandom.h [libFuzzer] replace std::random_shuffle with std::shuffle as std::random_shuffle is being deprecated in C++17. Also simplify fuzzer::Random. NFC 2017-02-07 22:37:34 +00:00
FuzzerSHA1.cpp
FuzzerSHA1.h
FuzzerShmem.h [libFuzzer] increase the default size for shmem 2017-02-01 00:07:47 +00:00
FuzzerShmemPosix.cpp [libfuzzer] chromium-related compilation fixes 2017-02-03 20:26:44 +00:00
FuzzerShmemWindows.cpp [libFuzzer] Temporarily fix Shmem for Windows. 2017-02-08 00:02:12 +00:00
FuzzerTracePC.cpp [libFuzzer] Use long long to ensure 64 bits. 2017-02-08 00:03:31 +00:00
FuzzerTracePC.h [libFuzzer] reorganize the tracing code to make it easier to experiment with inlined coverage instrumentation. NFC 2017-02-02 19:56:01 +00:00
FuzzerTraceState.cpp [libfuzzer] chromium-related compilation fixes 2017-02-03 20:26:44 +00:00
FuzzerUtil.cpp
FuzzerUtil.h
FuzzerUtilDarwin.cpp
FuzzerUtilLinux.cpp
FuzzerUtilPosix.cpp
FuzzerUtilWindows.cpp [libFuzzer] Properly handle exceptions with UnhandledExceptionFilter. 2017-02-02 19:07:53 +00:00
FuzzerValueBitMap.h [libFuzzer] Use long long to ensure 64 bits. 2017-02-08 00:03:31 +00:00
README.txt

Move to http://llvm.org/docs/LibFuzzer.html