llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.98k stars 11.95k forks source link

gdb.opt__inline-locals.exp is failing #22794

Closed adrian-prantl closed 9 years ago

adrian-prantl commented 9 years ago
Bugzilla Link 22420
Resolution FIXED
Resolved on Jan 30, 2015 17:58
Version trunk
OS All
CC @dwblaikie

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

adrian-prantl commented 9 years ago

Actually, it looks like I fixed this in r227604, too.

adrian-prantl commented 9 years ago

assigned to @adrian-prantl