Skip to content

Commit 6e22e57

Browse files
committed
Address reviewer comment
1 parent d2cd620 commit 6e22e57

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clang/test/Driver/clang-s-plugin.s

Lines changed: 0 additions & 5 deletions
This file was deleted.

clang/test/Driver/plugin-driver-args.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@
2020

2121
// RUN: %clang -fplugin=%llvmshlibdir/CallSuperAttr%pluginext -fplugin-arg-testname- -fsyntax-only %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-PLUGIN-ARG2
2222
// 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

Comments
 (0)