Fixed a problem in IRForTarget where we would not
authorSean Callanan <scallanan@apple.com>
Mon, 15 Jul 2013 23:31:47 +0000 (23:31 +0000)
committerSean Callanan <scallanan@apple.com>
Mon, 15 Jul 2013 23:31:47 +0000 (23:31 +0000)
commit0e016fe31b5bbd01a11e60bde1bb296843c7030b
tree3b07b298d62c504054f7a07dac45d7f38dc867a7
parentea9f9e8e06a215496a02b7eef2df9e0c128834de
Fixed a problem in IRForTarget where we would not
delete a constant after we replaced it with a
dynamically-computed value.  Also ensured that we
replace all users of the constant if there are
multiple ones.  Added a testcase.

<rdar://problem/14379043>

llvm-svn: 186363
lldb/source/Expression/IRForTarget.cpp
lldb/test/lang/objc/objc-struct-return/Makefile [new file with mode: 0644]
lldb/test/lang/objc/objc-struct-return/TestObjCStructReturn.py [new file with mode: 0644]
lldb/test/lang/objc/objc-struct-return/test.m [new file with mode: 0644]