]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358590 91177308-0d34-0410-b5e6-96231b3b80d8

utils/creduce-clang-crash.py

index a8e85a557d3b3f73d5952621745052e8fc3ce394..790a47ec38a96f474251d1f3d866ec48c9994cf1 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,