summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2019-04-17 16:20:56 +0000
committerAmy Huang <akhuang@google.com>2019-04-17 16:20:56 +0000
commita035486365833e88b3b5cc84607e027475d4bb4f (patch)
tree59a7e4c5c941e82df128c2f326a78694509e31e8 /utils
parent01406938407591e67a874872848dea7c092d2e59 (diff)
downloadclang-a035486365833e88b3b5cc84607e027475d4bb4f.tar.gz
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
Diffstat (limited to 'utils')
-rw-r--r--utils/creduce-clang-crash.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/creduce-clang-crash.py b/utils/creduce-clang-crash.py
index a8e85a557d..790a47ec38 100644
--- a/utils/creduce-clang-crash.py
+++ b/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,