summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/xray-empty-function.mir
blob: 178771a3c63afcdd467035633833afc9e4c52736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# RUN: llc -run-pass xray-instrumentation -mtriple=x86_64-unknown-linux-gnu -o - %s | FileCheck %s
#
# Make sure we can handle empty functions.
---
name: empty
tracksRegLiveness: true
liveins:
  - { reg: '$edi'}
body:            |
  bb.0:
    ; CHECK-NOT: PATCHABLE_FUNCTION_ENTER
...

OpenPOWER on IntegriCloud