Skip to content
  • Ted Kremenek's avatar
    Disallow the use of UnknownVal as the index for ElementRegions. UnknownVals can be used as · c4deb923
    Ted Kremenek authored
    the index when the value evaluation isn't powerful enough.  By creating ElementRegions with
    UnknownVals as the index, this gives the false impression that they are the same element, when
    they really aren't.  This becomes really problematic when deriving symbols from these regions
    (e.g., those representing the initial value of the index), since two different indices will
    get the same symbol for their binding.
    
    This fixes an issue with the idempotent operations checker that would cause two indices that
    are clearly not the same to make it appear as if they always had the same value.
    
    Fixes <rdar://problem/8431728>.
    
    llvm-svn: 113920
    c4deb923
Loading