mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 08:29:43 +00:00
fcd9eea31b
Reviewers: kcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28976 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292697 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
232 B
Bash
Executable File
12 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
LIBFUZZER_SRC_DIR=$(dirname $0)
|
|
CXX="${CXX:-clang}"
|
|
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
|
$CXX -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
|
|
|