]> granicus.if.org Git - clang/commitdiff
Include address of Store in graphviz output of ExplodedGraph.
authorTed Kremenek <kremenek@apple.com>
Tue, 8 May 2012 21:49:47 +0000 (21:49 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 8 May 2012 21:49:47 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156426 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/RegionStore.cpp

index 26a7e4b24f25817af7dc041fa7f0fb60123d98fd..1fec0206230c6245eb0a04d78e1b32e307dc83a8 100644 (file)
@@ -2016,7 +2016,9 @@ StoreRef RegionStoreManager::enterStackFrame(ProgramStateRef state,
 void RegionStoreManager::print(Store store, raw_ostream &OS,
                                const char* nl, const char *sep) {
   RegionBindings B = GetRegionBindings(store);
-  OS << "Store (direct and default bindings):" << nl;
+  OS << "Store (direct and default bindings), "
+     << (void*) B.getRootWithoutRetain()
+     << " :" << nl;
 
   for (RegionBindings::iterator I = B.begin(), E = B.end(); I != E; ++I)
     OS << ' ' << I.getKey() << " : " << I.getData() << nl;