9 lines · c
1// REQUIRES: x86-registered-target2// RUN: %clang_cc1 -S -triple x86_64 -fxray-instrument -fxray-instruction-threshold=1 %s -o - | FileCheck %s3// RUN: %clang_cc1 -S -triple x86_64 -fxray-instrument -fxray-instruction-threshold=1 -fno-xray-function-index %s -o - | FileCheck %s --check-prefix=NO4 5// CHECK: .section xray_fn_idx,"ao",@progbits,foo6// NO-NOT: .section xray_fn_idx7 8void foo(void) {}9