Skip to content

Commit

Permalink
Silence valgrind warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
phischu committed Feb 6, 2025
1 parent e1cbd3f commit 3ff77d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion effekt/jvm/src/main/scala/effekt/Runner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ trait Runner[Executable] {
*/
def eval(executable: Executable)(using C: Context): Unit = {
val execFile = build(executable)
val valgrindArgs = Seq("--leak-check=full", "--quiet", "--log-file=valgrind.log", "--error-exitcode=1")
val valgrindArgs = Seq("--leak-check=full", "--undef-value-errors=no", "--quiet", "--log-file=valgrind.log", "--error-exitcode=1")
val process = if (C.config.valgrind())
Process("valgrind", valgrindArgs ++ (execFile +: Context.config.runArgs()))
else
Expand Down

0 comments on commit 3ff77d1

Please sign in to comment.