1 // RUN: %clang_cc1 -fxray-instrument -fxray-always-emit-typedevents -x c++ \
2 // RUN: -std=c++11 -triple x86_64-unknown-unknown -emit-llvm -o - %s \
5 // CHECK-LABEL: @_Z15neverInstrumentv
6 [[clang::xray_never_instrument
]] void neverInstrument() {
7 static constexpr char kPhase
[] = "never";
8 __xray_typedevent(1, kPhase
, 5);
9 // CHECK: call void @llvm.xray.typedevent(i64 {{.*}}, ptr{{.*}}, i64 5)