diff options
author | Dan Gohman <gohman@apple.com> | 2010-09-14 01:37:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-09-14 01:37:57 +0000 |
commit | e1328dc0e958f8190492fc9c870ced6e1441bf01 (patch) | |
tree | 3462c4737c329a795761e8209f9862a271c29331 /lldb/source/Core/Section.cpp | |
parent | 6d87fab8a4f84fc3d4d8b050bd81071670bbb176 (diff) | |
download | bcm5719-llvm-e1328dc0e958f8190492fc9c870ced6e1441bf01.tar.gz bcm5719-llvm-e1328dc0e958f8190492fc9c870ced6e1441bf01.zip |
When a function-local value with function-local metadata uses gets RAUWed with a
non-function-local value, it may result in the metadata no longer needing to be
function-local. Check for this condition, and clear the isFunctionLocal flag, if
it's still in the uniquing map, since any node in the uniquing map needs to have
an accurate function-local flag.
Also, add an assert to help catch problematic cases.
llvm-svn: 113828
Diffstat (limited to 'lldb/source/Core/Section.cpp')
0 files changed, 0 insertions, 0 deletions