mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 12:40:38 +00:00
1a60ba886d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283682 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
213 B
Bash
Executable File
11 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
LIBFUZZER_SRC_DIR=$(dirname $0)
|
|
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
|
clang -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &
|
|
done
|
|
wait
|
|
rm -f libFuzzer.a
|
|
ar ru libFuzzer.a Fuzzer*.o
|
|
rm -f Fuzzer*.o
|
|
|