Mercurial > hg > CbC > CbC_llvm
comparison clang/test/CodeGen/xray-never-instrument.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
14 | 14 |
15 [[clang::xray_always_instrument]] void bar() {} | 15 [[clang::xray_always_instrument]] void bar() {} |
16 | 16 |
17 void baz() {} | 17 void baz() {} |
18 | 18 |
19 // CHECK: define void @_Z3foov() #[[NEVERATTR:[0-9]+]] { | 19 // CHECK: define{{.*}} void @_Z3foov() #[[NEVERATTR:[0-9]+]] { |
20 // CHECK: define void @_Z3barv() #[[ALWAYSATTR:[0-9]+]] { | 20 // CHECK: define{{.*}} void @_Z3barv() #[[ALWAYSATTR:[0-9]+]] { |
21 // CHECK: define void @_Z3bazv() #[[NEVERATTR:[0-9]+]] { | 21 // CHECK: define{{.*}} void @_Z3bazv() #[[NEVERATTR:[0-9]+]] { |
22 // CHECK: attributes #[[NEVERATTR]] = {{.*}} "function-instrument"="xray-never" {{.*}} | 22 // CHECK: attributes #[[NEVERATTR]] = {{.*}} "function-instrument"="xray-never" {{.*}} |
23 // CHECK: attributes #[[ALWAYSATTR]] = {{.*}} "function-instrument"="xray-always" {{.*}} | 23 // CHECK: attributes #[[ALWAYSATTR]] = {{.*}} "function-instrument"="xray-always" {{.*}} |
24 | 24 |