]> granicus.if.org Git - clang/commitdiff
Removing -debug-info-macros from option suggestions test
authorBrian Gesiak <modocache@gmail.com>
Mon, 3 Sep 2018 16:55:02 +0000 (16:55 +0000)
committerBrian Gesiak <modocache@gmail.com>
Mon, 3 Sep 2018 16:55:02 +0000 (16:55 +0000)
Summary:
https://reviews.llvm.org/D46776 added better support for prefixes for the
"did you mean ...?" command line option suggestions. One of the tests was
checking against the `-debug-info-macro` option, which was failing on the
PS4 build bot. Tests would succeed against the `--help` and `--version`
options.

From https://llvm.org/devmtg/2013-11/slides/Robinson-PS4Toolchain.pdf, it
looks like the PS4 SDK forces optimizations and *could be* disabling the
`-debug-info-macro` altogether.

This diff removes `-debug-info-macro` altogether.

Patch by Arnaud Coomans!

Test Plan: untested since we do not have access to a PS4 with the SDK.

Reviewers: cfe-commits, modocache

Reviewed By: modocache

Differential Revision: https://reviews.llvm.org/D50410

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341327 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/unknown-arg.c

index 36f5c6aabbb06f2247cb4f88f6fa196580ffcee4..4ea43278b7ea8d3c8ff5facd9acb2e392470ad33 100644 (file)
@@ -14,7 +14,7 @@
 // RUN: FileCheck %s --check-prefix=CL-ERROR-DID-YOU-MEAN
 // RUN: %clang_cl -cake-is-lie -%0 -%d -HHHH -munknown-to-clang-option -print-stats -funknown-to-clang-option -c -Wno-unknown-argument -### -- %s 2>&1 | \
 // RUN: FileCheck %s --check-prefix=SILENT
-// RUN: not %clang -cc1as -hell --version -debug-info-macros 2>&1 | \
+// RUN: not %clang -cc1as -hell --version 2>&1 | \
 // RUN: FileCheck %s --check-prefix=CC1AS-DID-YOU-MEAN
 // RUN: not %clang -cc1asphalt -help 2>&1 | \
 // RUN: FileCheck %s --check-prefix=UNKNOWN-INTEGRATED