summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-01-08 00:25:29 +0000
committerAnna Zaks <ganna@apple.com>2013-01-08 00:25:29 +0000
commita043d0cef2dd79222d61fe55f4148847ed07d58f (patch)
tree4cf78a1414c9c7136d6085a13677140612d5e946 /llvm/lib/IR/DebugInfo.cpp
parent58b961d1762a64d76e22ed60eec61a50ac556b8e (diff)
downloadbcm5719-llvm-a043d0cef2dd79222d61fe55f4148847ed07d58f.tar.gz
bcm5719-llvm-a043d0cef2dd79222d61fe55f4148847ed07d58f.zip
[analyzer] Include the bug uniqueing location in the issue_hash.
The issue here is that if we have 2 leaks reported at the same line for which we cannot print the corresponding region info, they will get treated as the same by issue_hash+description. We need to AUGMENT the issue_hash with the allocation info to differentiate the two issues. Add the "hash" (offset from the beginning of a function) representing allocation site to solve the issue. We might want to generalize solution in the future when we decide to track more than just the 2 locations from the diagnostics. llvm-svn: 171825
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud