Author: Jonas Devlieghere Date: 2020-01-29T22:02:00-08:00 New Revision: 0e67212416f6f27b9a6270a73cf95e71cabef524
URL: https://github.com/llvm/llvm-project/commit/0e67212416f6f27b9a6270a73cf95e71cabef524 DIFF: https://github.com/llvm/llvm-project/commit/0e67212416f6f27b9a6270a73cf95e71cabef524.diff LOG: Revert "[lldb/Reproducers] Assert when trying to get object for invalid index." Apparently this is not doing what I thought it was doing... Added: Modified: lldb/source/Utility/ReproducerInstrumentation.cpp Removed: ################################################################################ diff --git a/lldb/source/Utility/ReproducerInstrumentation.cpp b/lldb/source/Utility/ReproducerInstrumentation.cpp index c8a493ccd22b..1835e7098c25 100644 --- a/lldb/source/Utility/ReproducerInstrumentation.cpp +++ b/lldb/source/Utility/ReproducerInstrumentation.cpp @@ -15,7 +15,6 @@ using namespace lldb_private; using namespace lldb_private::repro; void *IndexToObject::GetObjectForIndexImpl(unsigned idx) { - assert(m_mapping.count(idx) && "No object for index"); return m_mapping.lookup(idx); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits