Author: Martin Storsjö Date: 2024-09-03T23:14:38+03:00 New Revision: 70f3511adaea4d3a9f8fadb23e84f518cc0654ab
URL: https://github.com/llvm/llvm-project/commit/70f3511adaea4d3a9f8fadb23e84f518cc0654ab DIFF: https://github.com/llvm/llvm-project/commit/70f3511adaea4d3a9f8fadb23e84f518cc0654ab.diff LOG: [clang] [test] Fix the debug-options-as.c test on macOS Separate the path, which may begin with e.g. /Users, with "--" from the other options, to make it clear that it is a path, not an option. 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 3e1ae109711003..f24cea330efe45 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 -### -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. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits