mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
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.
This commit is contained in:
parent
0c19c632ab
commit
e56cc8408d
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user