clayborg added a comment. Much cleaner. After seeing how we must construct a UniqueStack just so we can search for it, an even cleaner solution would be to make unique_stacks into: std::map<std::vector<lldb::addr_t> https://reviews.llvm.org/D33426