| 1 |
# Test that we can extract all the sled types we know about. This is built with |
| 2 |
# a file with functions always instrumented, and using the built-ins and |
| 3 |
# intrinsics supported by clang. Those are built with: |
| 4 |
# |
| 5 |
# clang++ -c all-sleds.cc -o all-sleds.o -fpic -std=c++11 -fxray-instrument |
| 6 |
# |
| 7 |
# RUN: llvm-xray extract %S/Inputs/all-sleds.o -s | FileCheck %s |
| 8 |
# CHECK-DAG: {{kind:.function-enter}} |
| 9 |
# CHECK-DAG: {{kind:.function-exit}} |
| 10 |
# CHECK-DAG: {{kind:.custom-event}} |
| 11 |
# CHECK-DAG: {{kind:.log-args-enter}} |