[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / compiler-rt / lib / fuzzer / build.sh
blobf58fd9557ce3d5c0a670d88c54911f08f51efa03
1 #!/bin/sh
2 LIBFUZZER_SRC_DIR=$(dirname $0)
3 CXX="${CXX:-clang}"
4 for f in $LIBFUZZER_SRC_DIR/*.cpp; do
5 $CXX -g -O2 -fno-omit-frame-pointer -std=c++17 $f -c &
6 done
7 wait
8 rm -f libFuzzer.a
9 ar r libFuzzer.a Fuzzer*.o
10 rm -f Fuzzer*.o