Skip to content

Commit

Permalink
Allow using verbose & debuginfo flags
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaZupan committed Oct 6, 2024
1 parent 57d3f14 commit b1a1018
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Runner/Helpers/JitDiffUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ private static async Task RunJitDiffAsync(JobBase job, string coreRootFolder, st
{
bool useCctors = !job.TryGetFlag("nocctors");
bool useTier0 = job.TryGetFlag("tier0");

await job.LogAsync($"Using cctors for {coreRootFolder}: {useCctors}");
await job.LogAsync($"Using tier0 {coreRootFolder}: {useTier0}");
bool verbose = job.TryGetFlag("verbose");
bool debugInfo = job.TryGetFlag("debuginfo");

await job.RunProcessAsync("jitutils/bin/jit-diff",
$"diff " +
(debugInfo ? "--debuginfo " : "") +
(verbose ? "--verbose " : "") +
(useCctors ? "--cctors " : "") +
(useTier0 ? "--tier0 " : "") +
$"--output {outputFolder} " +
Expand Down

0 comments on commit b1a1018

Please sign in to comment.