llvm-6502/test
Manman Ren 1229c0cb10 Linker: correctly link in dbg.declare
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173946 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-30 17:42:15 +00:00
..
Analysis Initial implementation of PPCTargetTransformInfo 2013-01-25 23:05:59 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Add a special ARM trap encoding for NaCl. 2013-01-30 16:30:19 +00:00
DebugInfo Support artificial parameters in function types. 2013-01-29 19:35:24 +00:00
ExecutionEngine Introduce llvm::sys::getProcessTriple() function. 2013-01-16 17:27:22 +00:00
Feature
FileCheck
Instrumentation [msan] Mostly disable msan-handle-icmp-exact. 2013-01-28 11:42:28 +00:00
Integer
JitListener Add support for source and line information to IntelJITEventListener for object emitted by MCJIT. 2013-01-28 19:52:37 +00:00
Linker Linker: correctly link in dbg.declare 2013-01-30 17:42:15 +00:00
MC Add a special ARM trap encoding for NaCl. 2013-01-30 16:30:19 +00:00
Object
Other XFAIL close-stderr on win32 2013-01-25 22:12:54 +00:00
Scripts Set the +x bit on two batch scripts 2013-01-25 22:12:50 +00:00
TableGen FileCheck-ify some grep tests 2013-01-25 22:11:46 +00:00
tools
Transforms InstCombine: canonicalize sext-and --> select 2013-01-30 06:35:22 +00:00
Unit
Verifier [IR] Add 'Append' and 'AppendUnique' module flag behaviors. 2013-01-16 21:38:56 +00:00
YAMLParser
CMakeLists.txt llvm/test/CMakeLists.txt: Add a dependency to llvm-rtdyld in check-llvm. 2013-01-25 23:24:07 +00:00
lit.cfg Introduce llvm::sys::getProcessTriple() function. 2013-01-16 17:27:22 +00:00
lit.site.cfg.in Introduce llvm::sys::getProcessTriple() function. 2013-01-16 17:27:22 +00:00
Makefile build: add --with-python option 2013-01-30 04:07:37 +00:00
Makefile.tests
TestRunner.sh