Selaa lähdekoodia

Remove --show-includes flag in crash reduce script

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358590 91177308-0d34-0410-b5e6-96231b3b80d8
Amy Huang 6 vuotta sitten
vanhempi
commit
a035486365
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      utils/creduce-clang-crash.py

+ 4 - 0
utils/creduce-clang-crash.py

@@ -286,6 +286,10 @@ class Reduce(object):
                                     opts_startswith=["-gcodeview",
                                                      "-debug-info-kind=",
                                                      "-debugger-tuning="])
+
+    new_args = self.try_remove_args(new_args,
+                                    msg="Removed --show-includes",
+                                    opts_startswith=["--show-includes"])
     # Not suppressing warnings (-w) sometimes prevents the crash from occurring
     # after preprocessing
     new_args = self.try_remove_args(new_args,