mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-25 22:04:36 +00:00
[libFuzzer] add a standalone build script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c1ce9acb64
commit
ec25365d1b
10
lib/Fuzzer/build.sh
Executable file
10
lib/Fuzzer/build.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
LIBFUZZER_SRC_DIR=$(dirname $0)
|
||||||
|
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
||||||
|
clang -O2 -std=c++11 $f -c &
|
||||||
|
done
|
||||||
|
wait
|
||||||
|
rm -f libFuzzer.a
|
||||||
|
ar ru libFuzzer.a Fuzzer*.o
|
||||||
|
rm -f Fuzzer*.o
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user