On Thu, Jan 29, 2015 at 5:55 PM, Adrian Prantl aprantl@apple.com wrote:
Author: adrian
Date: Thu Jan 29 19:55:25 2015
New Revision: 227544
URL: http://llvm.org/viewvc/llvm-project?rev=227544&view=rev
Log:
Fix llvm/llvm-project#22760 . The inliner moves static allocas to the entry basic block
so we need to move the dbg.declare intrinsics that describe them, too.
Extended Description
From: David Blaikie dblaikie@gmail.com
Looks like this might've caused http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/19791/steps/gdb-75-check/logs/gdb.opt__inline-locals.exp (sorry, the bots been red for a bit with my line table changes - I'm working on fixing those, but this occurred for the first time in the log I've linked there)
On Thu, Jan 29, 2015 at 5:55 PM, Adrian Prantl aprantl@apple.com wrote: Author: adrian Date: Thu Jan 29 19:55:25 2015 New Revision: 227544
URL: http://llvm.org/viewvc/llvm-project?rev=227544&view=rev Log: Fix llvm/llvm-project#22760 . The inliner moves static allocas to the entry basic block so we need to move the dbg.declare intrinsics that describe them, too.
Added: llvm/trunk/test/Transforms/Inline/alloca-dbgdeclare.ll Modified: llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp