diff options
| author | Frederic Riss <friss@apple.com> | 2014-09-15 07:50:42 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2014-09-15 07:50:42 +0000 |
| commit | dd7aec5ddec1881c1d9c7ba7b26e1bc3abe19746 (patch) | |
| tree | e83a38032aad071d20e4742ca7ef228585fdcd54 /lldb/scripts/Python/interface/SBModule.i | |
| parent | 36acf0fb8b8627bd586fe7df8872b1c8a17ab7cd (diff) | |
| download | llvm-dd7aec5ddec1881c1d9c7ba7b26e1bc3abe19746.zip llvm-dd7aec5ddec1881c1d9c7ba7b26e1bc3abe19746.tar.gz llvm-dd7aec5ddec1881c1d9c7ba7b26e1bc3abe19746.tar.bz2 | |
Fix DebugInfo replaceAllUsesWith.
Summary:
replaceAllUsesWith had been modified to allow a DbgNode value to be
replaced by itself. In that case a new node is created by copying the
current DbgNode and the copy is used as replacement value.
When that copying happens, the value stored in this->DbgNode at the end
of RAUW would be a reference to the Node that has just been deleted.
This doesn't produce any bug right now, because the DI node on which we
call RAUW won't be used again.
Reviewers: dblaikie, echristo, aprantl
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D5326
llvm-svn: 217749
Diffstat (limited to 'lldb/scripts/Python/interface/SBModule.i')
0 files changed, 0 insertions, 0 deletions
