@@ -43,36 +43,36 @@ int f() {
43
43
44
44
// CHECK-LABEL: f
45
45
// TODO: add profiling support for arm-baremetal
46
- // CHECK-ARM-BAREMETAL-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01mcount"{{.*}} }
47
- // CHECK-ARM-BAREMETAL-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
48
- // CHECK-ARM64-BAREMETAL-EABI: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
49
- // CHECK-ARM64-BAREMETAL-EABI-MEABI-GNU: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01_mcount"{{.*}} }
50
- // CHECK-ARM-IOS-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="_mcount"{{.*}} }
51
- // CHECK-ARM-IOS-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
52
- // CHECK-ARM-EABI: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01mcount"{{.*}} }
53
- // CHECK-ARM-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
54
- // CHECK-ARM64-EABI: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
55
- // CHECK-ARM64-EABI-MEABI-GNU: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01_mcount"{{.*}} }
56
- // CHECK-ARM64-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
57
- // CHECK-ARM64-EABI-LINUX: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01_mcount"{{.*}} }
58
- // CHECK-ARM-EABI-FREEBSD: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="__mcount"{{.*}} }
59
- // CHECK-ARM-EABI-FREEBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
60
- // CHECK-ARM64-EABI-FREEBSD: attributes #{{[0-9]+}} = { {{.*}}"counting -function"=".mcount"{{.*}} }
61
- // CHECK-ARM64-EABI-FREEBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
62
- // CHECK-ARM-EABI-NETBSD: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="_mcount"{{.*}} }
63
- // CHECK-ARM-EABI-NETBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
64
- // CHECK-ARM-EABI-OPENBSD: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="__mcount"{{.*}} }
65
- // CHECK-ARM-EABI-OPENBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
66
- // CHECK-ARM64-EABI-OPENBSD: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="__mcount"{{.*}} }
67
- // CHECK-ARM64-EABI-OPENBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
68
- // CHECK-ARM-EABI-MEABI-GNU-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
69
- // CHECK-ARM-EABI-MEABI-GNU: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
70
- // CHECK-ARM-EABI-RTEMS: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
71
- // CHECK-ARM-EABI-RTEMS-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
72
- // CHECK-ARM64-EABI-RTEMS: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
73
- // CHECK-ARM64-EABI-RTEMS-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
74
- // CHECK-ARM-EABI-CLOUDABI: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
75
- // CHECK-ARM-EABI-CLOUDABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
76
- // CHECK-ARM64-EABI-CLOUDABI: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="mcount"{{.*}} }
77
- // CHECK-ARM64-EABI-CLOUDABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"counting -function"="\01__gnu_mcount_nc"{{.*}} }
46
+ // CHECK-ARM-BAREMETAL-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01mcount"{{.*}} }
47
+ // CHECK-ARM-BAREMETAL-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
48
+ // CHECK-ARM64-BAREMETAL-EABI: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
49
+ // CHECK-ARM64-BAREMETAL-EABI-MEABI-GNU: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01_mcount"{{.*}} }
50
+ // CHECK-ARM-IOS-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="_mcount"{{.*}} }
51
+ // CHECK-ARM-IOS-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
52
+ // CHECK-ARM-EABI: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01mcount"{{.*}} }
53
+ // CHECK-ARM-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
54
+ // CHECK-ARM64-EABI: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
55
+ // CHECK-ARM64-EABI-MEABI-GNU: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01_mcount"{{.*}} }
56
+ // CHECK-ARM64-EABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
57
+ // CHECK-ARM64-EABI-LINUX: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01_mcount"{{.*}} }
58
+ // CHECK-ARM-EABI-FREEBSD: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="__mcount"{{.*}} }
59
+ // CHECK-ARM-EABI-FREEBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
60
+ // CHECK-ARM64-EABI-FREEBSD: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "=".mcount"{{.*}} }
61
+ // CHECK-ARM64-EABI-FREEBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
62
+ // CHECK-ARM-EABI-NETBSD: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="_mcount"{{.*}} }
63
+ // CHECK-ARM-EABI-NETBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
64
+ // CHECK-ARM-EABI-OPENBSD: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="__mcount"{{.*}} }
65
+ // CHECK-ARM-EABI-OPENBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
66
+ // CHECK-ARM64-EABI-OPENBSD: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="__mcount"{{.*}} }
67
+ // CHECK-ARM64-EABI-OPENBSD-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
68
+ // CHECK-ARM-EABI-MEABI-GNU-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
69
+ // CHECK-ARM-EABI-MEABI-GNU: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
70
+ // CHECK-ARM-EABI-RTEMS: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
71
+ // CHECK-ARM-EABI-RTEMS-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
72
+ // CHECK-ARM64-EABI-RTEMS: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
73
+ // CHECK-ARM64-EABI-RTEMS-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
74
+ // CHECK-ARM-EABI-CLOUDABI: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
75
+ // CHECK-ARM-EABI-CLOUDABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
76
+ // CHECK-ARM64-EABI-CLOUDABI: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="mcount"{{.*}} }
77
+ // CHECK-ARM64-EABI-CLOUDABI-NOT: attributes #{{[0-9]+}} = { {{.*}}"instrument -function-entry-inlined "="\01__gnu_mcount_nc"{{.*}} }
78
78
0 commit comments