From e56cc8408d67afe5d58cdd4311ecc97ed44f14aa Mon Sep 17 00:00:00 2001 From: Zalathar Date: Mon, 5 Feb 2024 11:55:20 +1100 Subject: [PATCH] Remove unhelpful `DEFINE_INTERNAL` from filecheck flags This define was copied over from the run-make version of the test, but doesn't seem to serve any useful purpose. --- tests/codegen/instrument-coverage/testprog.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/codegen/instrument-coverage/testprog.rs b/tests/codegen/instrument-coverage/testprog.rs index 39cf52d2c330e..b352cbdb75573 100644 --- a/tests/codegen/instrument-coverage/testprog.rs +++ b/tests/codegen/instrument-coverage/testprog.rs @@ -1,7 +1,6 @@ //@ edition: 2021 //@ needs-profiler-support //@ compile-flags: -Cinstrument-coverage -Copt-level=0 -//@ filecheck-flags: '-DDEFINE_INTERNAL=define internal' //@ revisions: LINUX DARWIN WINDOWS //@ [LINUX] only-linux @@ -104,9 +103,9 @@ fn main() { // CHECK-SAME: @__llvm_prf_nm // CHECK-SAME: section "llvm.metadata" -// CHECK: [[DEFINE_INTERNAL]] { {{.*}} } @_R{{[a-zA-Z0-9_]+}}testprog14will_be_called() unnamed_addr #{{[0-9]+}} { +// CHECK: define internal { {{.*}} } @_R{{[a-zA-Z0-9_]+}}testprog14will_be_called() unnamed_addr #{{[0-9]+}} { // CHECK-NEXT: start: -// CHECK-NOT: [[DEFINE_INTERNAL]] +// CHECK-NOT: define internal // CHECK: atomicrmw add ptr // CHECK-SAME: @__profc__R{{[a-zA-Z0-9_]+}}testprog14will_be_called,