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 5, 2024
1 parent 6cdb7d1 commit f67fa80
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
Expand Up @@ -2,7 +2,6 @@
// ignore-tidy-linelength
// 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 @@ -103,9 +102,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 f67fa80

Please sign in to comment.