-
- Downloads
[analyzer] Re-enable using global regions as a symbolic base.
Now that we're invalidating global regions properly, we want to continue taking advantage of a particular optimization: if all global regions are invalidated together, we can represent the bindings of each region with a "derived region value" symbol. Essentially, this lazily links each global region with a single symbol created at invalidation time, rather than binding each region with a new symbolic value. We used to do this, but haven't been for a while; the previous commit re-enabled this code path, and this handles the fallout. <rdar://problem/13464044> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179554 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/StaticAnalyzer/Core/RegionStore.cpp 9 additions, 10 deletionslib/StaticAnalyzer/Core/RegionStore.cpp
- test/Analysis/Inputs/system-header-simulator.h 4 additions, 0 deletionstest/Analysis/Inputs/system-header-simulator.h
- test/Analysis/global-region-invalidation.c 4 additions, 1 deletiontest/Analysis/global-region-invalidation.c
- test/Analysis/global_region_invalidation.mm 135 additions, 2 deletionstest/Analysis/global_region_invalidation.mm
Loading
Please register or sign in to comment