aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/2008-03-05-AliasReference.ll
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-01-31 21:19:18 +0000
committerManman Ren <mren@apple.com>2013-01-31 21:19:18 +0000
commit16d1a6bf082e7dbda4de2e5a54b9e8caae990c61 (patch)
tree8c8e89149ea858445684550575ea53e4a00189a3 /test/Linker/2008-03-05-AliasReference.ll
parent14292a6be51ab57ff425ff263d4134fe46d082c4 (diff)
Linker: correctly link in dbg.declare
This is a re-worked version of r174048. Given source IR: call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !14), !dbg !15 we used to generate call void @llvm.dbg.declare(metadata !27, metadata !28), !dbg !29 !27 = metadata !{null} With this patch, we will correctly generate call void @llvm.dbg.declare(metadata !{i32* %argc.addr}, metadata !27), !dbg !28 Looking up %argc.addr in ValueMap will return null, since %argc.addr is already correctly set up, we can use identity mapping. rdar://problem/13089880 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/2008-03-05-AliasReference.ll')
0 files changed, 0 insertions, 0 deletions