summaryrefslogtreecommitdiff
path: root/src/mongo/util/stacktrace_somap.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2019-10-09 17:47:00 +0000
committerevergreen <evergreen@mongodb.com>2019-10-09 17:47:00 +0000
commit00ad16093a6e6468d4d2ff1f46d8e5c08fcca21b (patch)
tree2526c845157d4aad88fded5509b0bc5f2c543164 /src/mongo/util/stacktrace_somap.h
parent6e136efbd50551965c17116d00e1f3179c039770 (diff)
downloadmongo-00ad16093a6e6468d4d2ff1f46d8e5c08fcca21b.tar.gz
SERVER-41654 trim somap to relevant libs on stacktrace
Diffstat (limited to 'src/mongo/util/stacktrace_somap.h')
-rw-r--r--src/mongo/util/stacktrace_somap.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/util/stacktrace_somap.h b/src/mongo/util/stacktrace_somap.h
index a392c2838cd..9e2db532cc8 100644
--- a/src/mongo/util/stacktrace_somap.h
+++ b/src/mongo/util/stacktrace_somap.h
@@ -37,15 +37,12 @@ namespace mongo {
class SharedObjectMapInfo {
public:
explicit SharedObjectMapInfo(BSONObj obj);
-
- // Optional string containing extra unwinding information in JSON form.
- const std::string& json() const {
- return _json;
+ const BSONObj& obj() const {
+ return _obj;
}
private:
BSONObj _obj;
- std::string _json;
};
// Available after the MONGO_INITIALIZER has run.