Author: arphaman Date: Thu Apr 4 18:48:11 2019 New Revision: 357740 URL: http://llvm.org/viewvc/llvm-project?rev=357740&view=rev Log: [test] Specify an explicit darwin version in a triple in `test/Driver/debug-options.c` to ensure that the driver selects the DWARF 2 version as intended by the test.
Fixes the `test/Driver/debug-options.c` test regression on GreenDragon on macOS that started failing after r357713. Modified: cfe/trunk/test/Driver/debug-options.c Modified: cfe/trunk/test/Driver/debug-options.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/debug-options.c?rev=357740&r1=357739&r2=357740&view=diff ============================================================================== --- cfe/trunk/test/Driver/debug-options.c (original) +++ cfe/trunk/test/Driver/debug-options.c Thu Apr 4 18:48:11 2019 @@ -25,7 +25,7 @@ // RUN: | FileCheck -check-prefix=G -check-prefix=G_DWARF4 %s // Darwin. -// RUN: %clang -### -c -g %s -target x86_64-apple-darwin 2>&1 \ +// RUN: %clang -### -c -g %s -target x86_64-apple-darwin14 2>&1 \ // RUN: | FileCheck -check-prefix=G_STANDALONE \ // RUN: -check-prefix=G_DWARF2 \ // RUN: -check-prefix=G_LLDB %s _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits