Skip to content

Commit 964efd7

Browse files
committed
when using --fuzzer now the abort symbol is abort instead of llvm instrinsic trap
1 parent 777b5a3 commit 964efd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tool/rlc/src/Main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,9 @@ static cl::opt<bool> emitFuzzer(
369369
cl::desc("emit a fuzzer."), // TODO consider passing the action name here.
370370
cl::init(false),
371371
cl::cat(astDumperCategory),
372+
cl::callback([](const bool &value) {
373+
abortSymbol.setInitialValue("abort");
374+
}),
372375
cl::callback([](const bool &value) { sanitize.setInitialValue(value); }));
373376

374377
cl::list<std::string> RPath("rpath", cl::desc("<rpath>"));

0 commit comments

Comments
 (0)