summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2016-12-14 00:27:35 +0000
committerPaul Robinson <paul.robinson@sony.com>2016-12-14 00:27:35 +0000
commit8fec3da00ce186f06dbbf08ff4f38cd90f079308 (patch)
treec35f19da6c8e92727dc2182e93ac9d17d3ad992a /llvm/test/DebugInfo
parentf6b069c7db5f86e73d997b212da8dfa5c32b822f (diff)
downloadbcm5719-llvm-8fec3da00ce186f06dbbf08ff4f38cd90f079308.tar.gz
bcm5719-llvm-8fec3da00ce186f06dbbf08ff4f38cd90f079308.zip
[DWARF] Preserve column number when emitting 'line 0' record
Follow-up to r289256, address a FIXME to avoid resetting the column number. This reduced .debug_line by 2.6% in a RelWithDebInfo self-build of clang. llvm-svn: 289620
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll4
-rw-r--r--llvm/test/DebugInfo/X86/tail-merge.ll2
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll b/llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll
index 1230e97d803..c94f494e3e0 100644
--- a/llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll
+++ b/llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll
@@ -42,11 +42,11 @@ if.end: ; preds = %if.then, %entry
; CHECK: .loc 1 7 7
; CHECK-NOT: .loc
-; CHECK: .loc 1 0 0 is_stmt 0
+; CHECK: .loc 1 0 7 is_stmt 0
; CHECK-NOT: .loc
; CHECK: .loc 2 20 5 is_stmt 1
; CHECK: .LBB0_2:
-; CHECK-NEXT: .loc 2 0 0 is_stmt 0
+; CHECK-NEXT: .loc 2 0 5 is_stmt 0
; CHECK-NOT: .loc
; CHECK: .loc 1 10 3 is_stmt 1
;
diff --git a/llvm/test/DebugInfo/X86/tail-merge.ll b/llvm/test/DebugInfo/X86/tail-merge.ll
index cbdcf1ac29c..e0f86046305 100644
--- a/llvm/test/DebugInfo/X86/tail-merge.ll
+++ b/llvm/test/DebugInfo/X86/tail-merge.ll
@@ -27,7 +27,7 @@
; CHECK: .loc 1 8 10
; CHECK: callq bar
; CHECK: [[TAIL]]:
-; CHECK: .loc 1 0 0
+; CHECK: .loc 1 0
; CHECK: addl [[REG]], %eax
; CHECK: .loc 1 9 3
OpenPOWER on IntegriCloud