aboutsummaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-04-05 20:39:05 +0000
committerEric Christopher <echristo@apple.com>2012-04-05 20:39:05 +0000
commit60b35f408bc3194e7ea4e96367c0b42dc5e7f850 (patch)
tree4017b0c57ad5cd29e25f6893492d88808deeab7a /test/DebugInfo
parent740cd657f3d9d4e88614831c70a649f9257164da (diff)
Patch to set is_stmt a little better for prologue lines in a function.
This enables debuggers to see what are interesting lines for a breakpoint rather than any line that starts a function. rdar://9852092 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r--test/DebugInfo/X86/ending-run.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/ending-run.ll b/test/DebugInfo/X86/ending-run.ll
index 0cd3de1da9..6935c47d0c 100644
--- a/test/DebugInfo/X86/ending-run.ll
+++ b/test/DebugInfo/X86/ending-run.ll
@@ -1,9 +1,11 @@
; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj
; RUN: llvm-dwarfdump %t | FileCheck %s
-; Check that the line table starts at 7, not 4.
+; Check that the line table starts at 7, not 4, but that the first
+; statement isn't until line 8.
-; CHECK: 0x0000000000000000 7 0 1 0 is_stmt
+; CHECK-NOT: 0x0000000000000000 7 0 1 0 is_stmt
+; CHECK: 0x0000000000000000 7 0 1 0
; CHECK: 0x0000000000000004 8 18 1 0 is_stmt prologue_end
define i32 @callee(i32 %x) nounwind uwtable ssp {