This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Improved bug reporting in MagentaHandleChecker
AbandonedPublic

Authored by haowei on Jul 28 2017, 3:22 PM.

Details

Reviewers
NoQ
dcoughlin
Summary

This commit improves the bug reporting of MagentaHandleChecker introduced in D35968 , D36022 and D36023.

After this commit, the allocation and release sites of the handle that causes a bug will be marked in the generated bug report. If the handle is declared as a local variable, the naming of the handle will also be marked in the generated bug report as well.

Diff Detail