Skip to content

Commit 717bdb2

Browse files
authored
llvm: Re-enable dictionary builder (google#12264)
This was disabled in d154d87 to fix a build issue in LLVM. That build issue was just [fixed](llvm/llvm-project#99871) and this patch reenables the dict generation.
1 parent 7c41fbc commit 717bdb2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Diff for: projects/llvm/build.sh

+4-8
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,10 @@ cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-sroa
179179
mv $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-instcombine
180180

181181

182-
183-
# 10th August 2022: The lines for building the dictionaries
184-
# broke the whole build. They are left as a reminder to re-enable
185-
# them once they have been fixed upstream.
186-
#ninja clang-fuzzer-dictionary
187-
#for fuzzer in "${CLANG_DICT_FUZZERS[@]}"; do
188-
# bin/clang-fuzzer-dictionary > $OUT/$fuzzer.dict
189-
#done
182+
ninja clang-fuzzer-dictionary
183+
for fuzzer in "${CLANG_DICT_FUZZERS[@]}"; do
184+
bin/clang-fuzzer-dictionary > $OUT/$fuzzer.dict
185+
done
190186

191187
zip -j "${OUT}/clang-objc-fuzzer_seed_corpus.zip" $SRC/$LLVM/../clang/tools/clang-fuzzer/corpus_examples/objc/*
192188
zip -j "${OUT}/clangd-fuzzer_seed_corpus.zip" $SRC/$LLVM/../clang-tools-extra/clangd/test/*

0 commit comments

Comments
 (0)