Go to file
Adrian Prantl 3512190ab3 This reapplies r207130 with an additional testcase+and a missing check for
AllocaInst that was missing in one location.
Debug info for optimized code: Support variables that are on the stack and
described by DBG_VALUEs during their lifetime.

Previously, when a variable was at a FrameIndex for any part of its
lifetime, this would shadow all other DBG_VALUEs and only a single
fbreg location would be emitted, which in fact is only valid for a small
range and not the entire lexical scope of the variable. The included
dbg-value-const-byref testcase demonstrates this.

This patch fixes this by
Local
- emitting dbg.value intrinsics for allocas that are passed by reference
- dropping all dbg.declares (they are now fully lowered to dbg.values)
SelectionDAG
- renamed constructors for SDDbgValue for better readability.
- fix UserValue::match() to handle indirect values correctly
- not inserting an MMI table entries for dbg.values that describe allocas.
- lowering dbg.values that describe allocas into *indirect* DBG_VALUEs.
CodeGenPrepare
- leaving dbg.values for an alloca were they are (see comment)
Other
- regenerated/updated instcombine.ll testcase and included source

rdar://problem/16679879
http://reviews.llvm.org/D3374

llvm-svn: 207165
2014-04-25 00:38:40 +00:00
clang Reland r206934 with a hopefully fixed test 2014-04-24 23:06:17 +00:00
clang-tools-extra QueryEngineTest.cpp: Appease g++47. 2014-04-24 11:02:17 +00:00
compiler-rt [sanitizer] wordexp isn't available on iOS 2014-04-24 20:10:31 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Introduce M_LOG2E_F and M_LOG2E 2014-03-28 21:19:03 +00:00
libcxx Default the copy and move constructors for __tuple_leaf. This fixes bugs 18853 and 19118. Add a test case for that. 2014-04-21 23:48:09 +00:00
libcxxabi Remove unused/obsolete ARM64 constants 2014-04-24 02:33:46 +00:00
lld [PECOFF] Do not copy-construct ExportDesc. 2014-04-24 22:57:17 +00:00
lldb Make sure that the CommandInterpreter::m_command_io_handler_sp gets reset when we quit. 2014-04-25 00:35:14 +00:00
llvm This reapplies r207130 with an additional testcase+and a missing check for 2014-04-25 00:38:40 +00:00
openmp Add the offload directory which contains the code needed to support 2014-04-09 15:40:23 +00:00
polly www: Reference phone call notes 2014-04-23 18:09:24 +00:00