summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-19 23:48:17 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-19 23:48:17 +0000
commit72379706ea74e0c837d2fe931925ac56c7b890e0 (patch)
tree0a95b07266905bd0bd97102af8edf96c3c012c33
parentdfdf54bed072e176a466a7180c418ce9b9b75588 (diff)
downloadbcm5719-llvm-72379706ea74e0c837d2fe931925ac56c7b890e0.tar.gz
bcm5719-llvm-72379706ea74e0c837d2fe931925ac56c7b890e0.zip
DebugInfo: Match Name and DisplayName in testcase
There's no way for `DIBuilder` to create a subprogram or global variable where `getName()` and `getDisplayName()` give different answers. This testcase managed to achieve the feat though. This was probably just left behind in some sort of upgrade along the way. llvm-svn: 229930
-rw-r--r--llvm/test/DebugInfo/X86/dbg-value-terminator.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/X86/dbg-value-terminator.ll b/llvm/test/DebugInfo/X86/dbg-value-terminator.ll
index 0653bde62e9..88c3ba29964 100644
--- a/llvm/test/DebugInfo/X86/dbg-value-terminator.ll
+++ b/llvm/test/DebugInfo/X86/dbg-value-terminator.ll
@@ -6,7 +6,7 @@
; terminator.
;
; CHECK-LABEL: test:
-; CHECK: ##DEBUG_VALUE: i
+; CHECK: ##DEBUG_VALUE: foo:i
%a = type { i32, i32 }
define hidden fastcc %a* @test() #1 {
@@ -114,7 +114,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon
!llvm.module.flags = !{!22}
!0 = !{!"0x11\0012\00Apple clang version\001\00\000\00\001", !20, !21, !21, !18, null, null} ; [ DW_TAG_compile_unit ]
-!1 = !{!"0x2e\00foo\00\00\002\000\001\000\006\00256\001\000", !20, !2, !3, null, %a* ()* @test, null, null, !19} ; [ DW_TAG_subprogram ] [line 2] [def] [scope 0] [foo]
+!1 = !{!"0x2e\00foo\00foo\00\002\000\001\000\006\00256\001\000", !20, !2, !3, null, %a* ()* @test, null, null, !19} ; [ DW_TAG_subprogram ] [line 2] [def] [scope 0] [foo]
!2 = !{!"0x29", !20} ; [ DW_TAG_file_type ]
!3 = !{!"0x15\00\000\000\000\000\000\000", !20, !2, null, !4, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!4 = !{!5}
OpenPOWER on IntegriCloud