kcc added a comment.
Update the README file please (with a text similar to this commit message)
Comment at: cfe/trunk/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp:32
+ for (int I = 1; I < *argc; I++) {
+if (strcmp((*argv)[I], "-ignore_remaining_args=1") == 0) {
+ fo
This revision was automatically updated to reflect the committed changes.
Closed by commit rL311185: [clang-proto-fuzzer] Allow user-specified compiler
arguments. (authored by morehouse).
Changed prior to commit:
https://reviews.llvm.org/D36882?vs=111713&id=111715#toc
Repository:
rL LLVM
ht
morehouse updated this revision to Diff 111713.
morehouse added a comment.
- Refactor and use strcmp.
https://reviews.llvm.org/D36882
Files:
clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp
Index: clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp
=
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp:33
+ for (I = 1; I < *argc; I++)
+if (llvm::StringRef((*argv)[I]).equals("-ignore_remaining_
morehouse created this revision.
Herald added subscribers: kristof.beyls, aemerson.
Arguments can be specified after -ignore_remaining_args=1 to modify
the compiler invocation. For example, the following command-line
will fuzz LLVM with a custom optimization level and target triple:
clang-prot