<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is fixed in r93979.<div><br></div><div>Victor</div><div><br><div><div><div>On Jan 18, 2010, at 5:00 PM, Chris Lattner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 18, 2010, at 3:28 PM, Devang Patel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 18, 2010, at 2:25 PM, Chris Lattner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Verdana; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">On Jan 18, 2010, at 11:52 AM, Devang Patel wrote:<br><br><blockquote type="cite">Author: dpatel<br></blockquote><blockquote type="cite">Date: Mon Jan 18 13:52:14 2010<br></blockquote><blockquote type="cite">New Revision: 93757<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=93757&view=rev">http://llvm.org/viewvc/llvm-project?rev=93757&view=rev</a><br></blockquote><blockquote type="cite">Log:<br></blockquote><blockquote type="cite">While mapping llvm.dbg.declare intrinsic manually map its operand, if possible,<br></blockquote><blockquote type="cite">because it points to an alloca instruction through metadata.<br></blockquote><br>Thanks for the fix Devang.  While I appreciate the expedient fix, shouldn't this code map *all* function-local metadata? </span></blockquote><div><br></div><div>Yes. </div></div></div></blockquote><br></div><div>Ok, Victor, can you tackle this?  It should fit very naturally into this code.</div><div><br></div><div>-Chris</div><br></div></blockquote></div><br></div></div></body></html>