Skip to content

Commit

Permalink
Remove unhelpful DEFINE_INTERNAL from filecheck flags
Browse files Browse the repository at this point in the history
This define was copied over from the run-make version of the test, but doesn't
seem to serve any useful purpose.
  • Loading branch information
Zalathar committed Feb 23, 2024
1 parent 0c19c63 commit e56cc84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/codegen/instrument-coverage/testprog.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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,

Expand Down

0 comments on commit e56cc84

Please sign in to comment.