diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2015-10-05 17:26:36 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2015-10-05 17:26:36 +0000 |
commit | 0591c5d719eccc127dae01ea4f586dc5c6e89478 (patch) | |
tree | 84437b030f35509c301067106f01bcb39e8532f8 /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | |
parent | d1cf421bd560cac836c064a03032f62bdf49052e (diff) | |
download | bcm5719-llvm-0591c5d719eccc127dae01ea4f586dc5c6e89478.tar.gz bcm5719-llvm-0591c5d719eccc127dae01ea4f586dc5c6e89478.zip |
MergeFunctions: Clear GlobalNumbers ValueMap
Otherwise, the map will observe changes as long as MergeFunctions is alive. This
is bad because follow-up passes could replace-all-uses-with on the key of an
entry in the map. The value handle callback of ValueMap however asserts that the
key type matches.
rdar://22971893
llvm-svn: 249327
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
0 files changed, 0 insertions, 0 deletions