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 | 7eaa8257fc29a338aae8001e7f7399f8abd38ef3 (patch) | |
tree | fba7284dc955e5a5f98c4afb5ced64b674430b51 /llvm/test/DebugInfo/COFF | |
parent | e8747e30efe5ee7f1f1d4586aaea2033ac0c868e (diff) | |
download | bcm5719-llvm-7eaa8257fc29a338aae8001e7f7399f8abd38ef3.tar.gz bcm5719-llvm-7eaa8257fc29a338aae8001e7f7399f8abd38ef3.zip |
Make the recent COFF debug info tests more readable
llvm-svn: 204902
Diffstat (limited to 'llvm/test/DebugInfo/COFF')
-rw-r--r-- | llvm/test/DebugInfo/COFF/asan-module-ctor.ll (renamed from llvm/test/DebugInfo/COFF/asan.ll) | 0 | ||||
-rw-r--r-- | llvm/test/DebugInfo/COFF/asan-module-without-functions.ll (renamed from llvm/test/DebugInfo/COFF/asan2.ll) | 5 | ||||
-rw-r--r-- | llvm/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll (renamed from llvm/test/DebugInfo/COFF/pr19239.ll) | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/COFF/asan.ll b/llvm/test/DebugInfo/COFF/asan-module-ctor.ll index c1d8e75292c..c1d8e75292c 100644 --- a/llvm/test/DebugInfo/COFF/asan.ll +++ b/llvm/test/DebugInfo/COFF/asan-module-ctor.ll diff --git a/llvm/test/DebugInfo/COFF/asan2.ll b/llvm/test/DebugInfo/COFF/asan-module-without-functions.ll index d1f19085ece..419faa0e0f3 100644 --- a/llvm/test/DebugInfo/COFF/asan2.ll +++ b/llvm/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/llvm/test/DebugInfo/COFF/pr19239.ll b/llvm/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll index 3c0de6a9a02..b0b87a4b6f9 100644 --- a/llvm/test/DebugInfo/COFF/pr19239.ll +++ b/llvm/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 |