summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic/nodebug.ll
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-03-24 20:38:49 +0000
committerReid Kleckner <rnk@google.com>2016-03-24 20:38:49 +0000
commit01bc66a8ce04297cd3688dacb7e6110b1a60cd50 (patch)
tree46c744e8f14aeca449ba90eed224f944807855ec /llvm/test/DebugInfo/Generic/nodebug.ll
parent00381aa142c77bcce96f8c587045c8086b2fa27e (diff)
downloadbcm5719-llvm-01bc66a8ce04297cd3688dacb7e6110b1a60cd50.tar.gz
bcm5719-llvm-01bc66a8ce04297cd3688dacb7e6110b1a60cd50.zip
Revert "Recommitted r263424 "Supporting all entities declared in lexical scope in LLVM debug info." After fixing PR26942 (the fix is included in this commit)."
This reverts commit r264280. This broke building Chromium for iOS. We'll upload a reproducer to the PR soon. llvm-svn: 264334
Diffstat (limited to 'llvm/test/DebugInfo/Generic/nodebug.ll')
-rw-r--r--llvm/test/DebugInfo/Generic/nodebug.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/Generic/nodebug.ll b/llvm/test/DebugInfo/Generic/nodebug.ll
index 7aafc8d5fa1..6f20aecaaf5 100644
--- a/llvm/test/DebugInfo/Generic/nodebug.ll
+++ b/llvm/test/DebugInfo/Generic/nodebug.ll
@@ -16,8 +16,10 @@
; 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 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-NOT: DW_TAG_subprogram
@i = external global i32
OpenPOWER on IntegriCloud