diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-02 21:56:57 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-10-02 21:56:57 +0000 |
commit | 571f97bd9055738e88c982564c06ba6d48ac7f9f (patch) | |
tree | 8853f1ba2183cc4f7d5c8fb454188b705e445e1a /llvm/test/CodeGen/Generic | |
parent | 02b418a875b630be83fad340e3a213701904617c (diff) | |
download | bcm5719-llvm-571f97bd9055738e88c982564c06ba6d48ac7f9f.tar.gz bcm5719-llvm-571f97bd9055738e88c982564c06ba6d48ac7f9f.zip |
DI: Fold constant arguments into a single MDString
This patch addresses the first stage of PR17891 by folding constant
arguments together into a single MDString. Integers are stringified and
a `\0` character is used as a separator.
Part of PR17891.
Note: I've attached my testcases upgrade scripts to the PR. If I've
just broken your out-of-tree testcases, they might help.
llvm-svn: 218914
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r-- | llvm/test/CodeGen/Generic/dbg_value.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Generic/dbg_value.ll b/llvm/test/CodeGen/Generic/dbg_value.ll index 4998fe7161d..73e41c75df0 100644 --- a/llvm/test/CodeGen/Generic/dbg_value.ll +++ b/llvm/test/CodeGen/Generic/dbg_value.ll @@ -4,11 +4,11 @@ %0 = type { i32, i32 } define void @t(%0*, i32, i32, i32, i32) nounwind { - tail call void @llvm.dbg.value(metadata !{%0* %0}, i64 0, metadata !0, metadata !{i32 786690}) + tail call void @llvm.dbg.value(metadata !{%0* %0}, i64 0, metadata !0, metadata !{metadata !"0x102"}) unreachable } declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone ; !0 should conform to the format of DIVariable. -!0 = metadata !{i32 786689, null, metadata !"a", null, i32 0, null, i32 0, i32 0} ; +!0 = metadata !{metadata !"0x101\00a\000\000", null, null, null} ; [ DW_TAG_arg_variable ] |