[clang] cbb5f03 - [clang] [test] Fix the debug-options-as.c test on PowerPC
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 3 13:52:18 PDT 2024
Author: Martin Storsjö
Date: 2024-09-03T23:50:54+03:00
New Revision: cbb5f03f5042aa6d7c5d17963eba192861c9165c
URL: https://github.com/llvm/llvm-project/commit/cbb5f03f5042aa6d7c5d17963eba192861c9165c
DIFF: https://github.com/llvm/llvm-project/commit/cbb5f03f5042aa6d7c5d17963eba192861c9165c.diff
LOG: [clang] [test] Fix the debug-options-as.c test on PowerPC
Use an explicit MSVC triple with an architecture that does
have proper handling for MSVC style targets.
This fixes a test from fcb7b390ccd5b4cfc71f13b5e16a846f3f400c10.
Added:
Modified:
clang/test/Driver/debug-options-as.c
Removed:
################################################################################
diff --git a/clang/test/Driver/debug-options-as.c b/clang/test/Driver/debug-options-as.c
index f24cea330efe45..cb0492177ff47a 100644
--- a/clang/test/Driver/debug-options-as.c
+++ b/clang/test/Driver/debug-options-as.c
@@ -37,7 +37,7 @@
// Check that clang-cl with the -Z7 option works the same, not triggering
// any DWARF output.
//
-// RUN: %clang_cl -### -c -Z7 -x assembler -- %s 2>&1 \
+// RUN: %clang_cl -### --target=x86_64-pc-windows-msvc -c -Z7 -x assembler -- %s 2>&1 \
// RUN: | FileCheck -check-prefix=MSVC %s
// Check to make sure clang with -g on a .s file gets passed -dwarf-debug-producer.
More information about the cfe-commits
mailing list