projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82c114
)
[libFuzzer] add a standalone build script
author
Kostya Serebryany
<kcc@google.com>
Sat, 24 Sep 2016 04:00:00 +0000
(
04:00
+0000)
committer
Kostya Serebryany
<kcc@google.com>
Sat, 24 Sep 2016 04:00:00 +0000
(
04:00
+0000)
llvm-svn: 282321
llvm/lib/Fuzzer/build.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/llvm/lib/Fuzzer/build.sh
b/llvm/lib/Fuzzer/build.sh
new file mode 100755
(executable)
index 0000000..
92d7b8c
--- /dev/null
+++ b/
llvm/lib/Fuzzer/build.sh
@@ -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
+