llvm/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 Fast-math test case for bitcode and textual reading/writing 2012-11-27 00:45:08 +00:00
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 There was a switch fall-through in the parser for textual LLVM that caused 2013-01-07 13:32:38 +00:00
FileCheck Fix a bug in FileCheck that wouldn't let define variables as follows: 2012-12-02 16:02:41 +00:00
Instrumentation [msan] Mostly disable msan-handle-icmp-exact. 2013-01-28 11:42:28 +00:00
Integer Remove the dependent libraries feature. 2012-11-27 09:55:56 +00:00
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 [llvm-objdump] Emit addresses with the correct number of leading 0's. 2013-01-10 22:40:50 +00:00
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 PR10867: Analogue of r169441 for when using external 'sh'. And actually run the test! 2012-12-05 23:15:33 +00:00
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