We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2cd620 commit 6e22e57Copy full SHA for 6e22e57
clang/test/Driver/clang-s-plugin.s
clang/test/Driver/plugin-driver-args.cpp
@@ -20,3 +20,8 @@
20
21
// RUN: %clang -fplugin=%llvmshlibdir/CallSuperAttr%pluginext -fplugin-arg-testname- -fsyntax-only %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-PLUGIN-ARG2
22
// CHECK-NO-PLUGIN-ARG2: missing plugin argument for plugin testname in -fplugin-arg-testname-
23
+
24
+// Plugins are only relevant for the -cc1 phase. No warning should be raised
25
+// when only using the assembler. See GH #88173.
26
+// RUN: %clang -c -fpass-plugin=bar.so -fplugin=bar.so -fplugin-arg-bar-option -Werror -x assembler %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-PLUGIN-ASM
27
+// CHECK-PLUGIN-ASM-NOT: argument unused during compilation
0 commit comments