While mapping llvm.dbg.declare intrinsic manually map its operand, if possible,
authorDevang Patel <dpatel@apple.com>
Mon, 18 Jan 2010 19:52:14 +0000 (19:52 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 18 Jan 2010 19:52:14 +0000 (19:52 +0000)
commitf9d5c5cf9f1aa40aff80b5096a0a54e246fa89b5
tree3853c83d4d55d2632904cae916c46741b5bdf672
parentb905b09f2167c5c45e23e55e609b8acff07d317d
While mapping llvm.dbg.declare intrinsic manually map its operand, if possible,
because it points to an alloca instruction through metadata.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93757 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/ValueMapper.cpp
test/FrontendC/2010-01-18-Inlined-Debug.c [new file with mode: 0644]