summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/invalid-debug-location.mir
blob: 60f718ed679c8d19997f69024488a8c724f90792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RUN: not llc -o - %s -run-pass=none 2>&1 | FileCheck %s
--- |
  target triple="x86_64--"
  define void @func() {
    unreachable
  }
  !0 = !{}
...
---
name: func
body: |
  bb.0:
    ; CHECK: [[@LINE+1]]:27: referenced metadata is not a DILocation
    NOOP debug-location !0
...
OpenPOWER on IntegriCloud