diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-03-27 08:46:44 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-03-27 08:46:44 +0000 |
commit | 45dfc707ee0f2051c0d0eab33368d9ae7bb57518 (patch) | |
tree | e3598f552d31ef1d4303771cd3f350f775953844 /test | |
parent | fee5d2340486fdc88f5795deda4e1719411aad6f (diff) | |
download | llvm-45dfc707ee0f2051c0d0eab33368d9ae7bb57518.tar.gz llvm-45dfc707ee0f2051c0d0eab33368d9ae7bb57518.tar.bz2 llvm-45dfc707ee0f2051c0d0eab33368d9ae7bb57518.tar.xz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/DebugInfo/COFF/asan-module-ctor.ll (renamed from test/DebugInfo/COFF/asan.ll) | 0 | ||||
-rw-r--r-- | test/DebugInfo/COFF/asan-module-without-functions.ll (renamed from test/DebugInfo/COFF/asan2.ll) | 5 | ||||
-rw-r--r-- | test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll (renamed from test/DebugInfo/COFF/pr19239.ll) | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/test/DebugInfo/COFF/asan.ll b/test/DebugInfo/COFF/asan-module-ctor.ll index c1d8e75292..c1d8e75292 100644 --- a/test/DebugInfo/COFF/asan.ll +++ b/test/DebugInfo/COFF/asan-module-ctor.ll diff --git a/test/DebugInfo/COFF/asan2.ll b/test/DebugInfo/COFF/asan-module-without-functions.ll index d1f19085ec..419faa0e0f 100644 --- a/test/DebugInfo/COFF/asan2.ll +++ b/test/DebugInfo/COFF/asan-module-without-functions.ll @@ -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' diff --git a/test/DebugInfo/COFF/pr19239.ll b/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll index 3c0de6a9a0..b0b87a4b6f 100644 --- a/test/DebugInfo/COFF/pr19239.ll +++ b/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll @@ -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 |