Remove --show-includes flag in crash reduce script
authorAmy Huang <akhuang@google.com>
Wed, 17 Apr 2019 16:20:56 +0000 (16:20 +0000)
committerAmy Huang <akhuang@google.com>
Wed, 17 Apr 2019 16:20:56 +0000 (16:20 +0000)
llvm-svn: 358590

clang/utils/creduce-clang-crash.py

index a8e85a5..790a47e 100644 (file)
@@ -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,