diff options
author | Greg Clayton <gclayton@apple.com> | 2011-01-08 00:05:12 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-01-08 00:05:12 +0000 |
commit | b0848c5d911b8bd0d13231cbe79e018925edc8a3 (patch) | |
tree | 6b91657bf74246ef2d78bbd4ac3cc0506413c50b /llvm/lib/Transforms/Utils/CloneModule.cpp | |
parent | 6eb516dbeaf4effee65dd609a7099397bf52aed5 (diff) | |
download | llvm-b0848c5d911b8bd0d13231cbe79e018925edc8a3.zip llvm-b0848c5d911b8bd0d13231cbe79e018925edc8a3.tar.gz llvm-b0848c5d911b8bd0d13231cbe79e018925edc8a3.tar.bz2 |
Fixed issues with the unwinding code where the collection of FuncUnwinders
was being searched and sorted using a shared pointer as the value which means
the pointer value was what was being searched for. This means that anytime
you did a stack backtrace, the collection of FuncUnwinders doubled and then
the array or shared pointer got sorted (by pointer value), so you had an ever
increasing collection of shared pointer where a match was never found. This
means we had a ton of duplicates in this table and would cause issues after
one had been debugging for a long time.
llvm-svn: 123045
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions