]> granicus.if.org Git - clang/commit
Add 'StoreRef' smart pointer to allow more fine-grain memory lifetime control of...
authorTed Kremenek <kremenek@apple.com>
Sat, 19 Feb 2011 01:59:33 +0000 (01:59 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 19 Feb 2011 01:59:33 +0000 (01:59 +0000)
commit77a4d5687c2cb3199c689892c9d040a94ff270af
tree2de2bb3aebfd7f4c982d64744324c6a486ccd830
parent7ff07dce18a7c693fe1a15bd7b790d8de9d21e92
Add 'StoreRef' smart pointer to allow more fine-grain memory lifetime control of Store objects.

This yields a minor memory reduction (for larger functions) on Sqlite at the cost of slightly
higher memory usage on some functions because of the increased size of GRState (which can be optimized).

I expect the real memory savings from this enhancement will come when we aggressively
canabilize more of the ExplodedGraph.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126012 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/GRState.h
include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
lib/StaticAnalyzer/Core/BasicStore.cpp
lib/StaticAnalyzer/Core/FlatStore.cpp
lib/StaticAnalyzer/Core/GRState.cpp
lib/StaticAnalyzer/Core/RegionStore.cpp
lib/StaticAnalyzer/Core/Store.cpp