[Lldb-commits] [lldb] 0e67212 - Revert "[lldb/Reproducers] Assert when trying to get object for invalid index."
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 29 22:02:07 PST 2020
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);
}
More information about the lldb-commits
mailing list