mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 04:29:42 +00:00
29883866a4
Instead of crashing, give a nice error. As a drive-by, fix the location associated with the errors for unresolved metadata (the location was off by one token). llvm-svn: 265507
6 lines
154 B
LLVM
6 lines
154 B
LLVM
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
|
|
!named = !{!0}
|
|
|
|
; CHECK: [[@LINE+1]]:13: error: use of undefined metadata '!1'
|
|
!0 = !{!0, !1}
|