[DebugInfo] Add error message to test.

Suggested by Rafael as post-commit review (r266102).

llvm-svn: 266134
This commit is contained in:
Davide Italiano 2016-04-12 21:44:16 +00:00
parent 5124bf8edc
commit 245383c584
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
; Reject if DISubprogram does not belong to a DICompileUnit.
; RUN: not llvm-as %s
; RUN: not llvm-as -disable-output <%s 2>&1 | FileCheck %s
; CHECK: assembly parsed, but does not verify as correct!
; CHECK: subprogram not found in any compile unit
@_ZZNK4llvm6object15MachOObjectFile21getRelocationTypeNameENS0_11DataRefImplERNS_15SmallVectorImplIcEEE5Table = external unnamed_addr constant [6 x i8*], align 16