Make the recent COFF debug info tests more readable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Timur Iskhodzhanov 2014-03-27 08:46:44 +00:00
parent fee5d23404
commit 45dfc707ee
3 changed files with 6 additions and 2 deletions

View File

@ -4,8 +4,9 @@
; -fsanitize=address
; D:\asan.c:
; 1 unsigned char c = 42;
; Just make sure we don't try to emit the line table.
;
; This file defines no functions, so just make sure we don't try to emit
; the line table for functions of zero size.
; X86-NOT: .section .debug$S,"rn"
; ModuleID = 'asan.c'

View File

@ -11,6 +11,9 @@
; 7 void spam(void) {
; 8 bar(42);
; 9 }
;
; The bar function happens to have no lexical scopes, yet it has one instruction
; with debug information available.
; X86-LABEL: {{^}}"?bar@@YAXHZZ":
; X86-NEXT: # BB