summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic/nodebug.ll
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2016-03-24 13:30:16 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2016-03-24 13:30:16 +0000
commit6ff7e10052b72389c99afcb622df879d8777c2d7 (patch)
treea83b01d56d170c06ba7c8544981e1176d3434e81 /llvm/test/DebugInfo/Generic/nodebug.ll
parent837f15187b8499e2326cf2e403bffc97669c6c2e (diff)
downloadbcm5719-llvm-6ff7e10052b72389c99afcb622df879d8777c2d7.tar.gz
bcm5719-llvm-6ff7e10052b72389c99afcb622df879d8777c2d7.zip
Recommitted r263424 "Supporting all entities declared in lexical scope in LLVM debug info."
After fixing PR26942 (the fix is included in this commit). Differential Revision: http://reviews.llvm.org/D18350 llvm-svn: 264280
Diffstat (limited to 'llvm/test/DebugInfo/Generic/nodebug.ll')
-rw-r--r--llvm/test/DebugInfo/Generic/nodebug.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/Generic/nodebug.ll b/llvm/test/DebugInfo/Generic/nodebug.ll
index 6f20aecaaf5..7aafc8d5fa1 100644
--- a/llvm/test/DebugInfo/Generic/nodebug.ll
+++ b/llvm/test/DebugInfo/Generic/nodebug.ll
@@ -16,10 +16,8 @@
; f1();
; }
-; Check that there's only one DW_TAG_subprogram, nothing for the 'f2' function.
-; CHECK: DW_TAG_subprogram
-; CHECK-NOT: DW_TAG
-; CHECK: DW_AT_name {{.*}} "f1"
+; Check that there is no DW_TAG_subprogram, nothing for the 'f2' function.
+; Note: No debug info was emitted for 'f1' function because it has no code.
; CHECK-NOT: DW_TAG_subprogram
@i = external global i32
OpenPOWER on IntegriCloud