SPMI: Handle -jitoption for tpdiff (#87818)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Tue, 20 Jun 2023 19:40:33 +0000 (21:40 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Jun 2023 19:40:33 +0000 (21:40 +0200)
src/coreclr/scripts/superpmi.py

index 673f960..d5a12f1 100644 (file)
@@ -2383,11 +2383,17 @@ class SuperPMIReplayThroughputDiff:
         if self.coreclr_args.base_jit_option:
             for o in self.coreclr_args.base_jit_option:
                 base_option_flags += "-jitoption", o
+        if self.coreclr_args.jitoption:
+            for o in self.coreclr_args.jitoption:
+                base_option_flags += "-jitoption", o
 
         diff_option_flags = []
         if self.coreclr_args.diff_jit_option:
             for o in self.coreclr_args.diff_jit_option:
                 diff_option_flags += "-jit2option", o
+        if self.coreclr_args.jitoption:
+            for o in self.coreclr_args.jitoption:
+                diff_option_flags += "-jit2option", o
 
         base_jit_build_string_decoded = decode_clrjit_build_string(self.base_jit_path)
         diff_jit_build_string_decoded = decode_clrjit_build_string(self.diff_jit_path)