diff options
| author | Anna Zaks <ganna@apple.com> | 2012-03-16 23:24:20 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2012-03-16 23:24:20 +0000 |
| commit | cba4f298c6225392480a648b558a456688365d50 (patch) | |
| tree | 03f2626121d0804ee5aa37729f91abadd8f4994f /llvm/lib/CodeGen/MachineInstr.cpp | |
| parent | 180e4aa24649859a653d621f49b818b4b257a399 (diff) | |
| download | llvm-cba4f298c6225392480a648b558a456688365d50.zip llvm-cba4f298c6225392480a648b558a456688365d50.tar.gz llvm-cba4f298c6225392480a648b558a456688365d50.tar.bz2 | |
[analyzer] Create symbol-aware stack hints (building upon r152837).
The symbol-aware stack hint combines the checker-provided message
with the information about how the symbol was passed to the callee: as
a parameter or a return value.
For malloc, the generated messages look like this :
"Returning from 'foo'; released memory via 1st parameter"
"Returning from 'foo'; allocated memory via 1st parameter"
"Returning from 'foo'; allocated memory returned"
"Returning from 'foo'; reallocation of 1st parameter failed"
(We are yet to handle cases when the symbol is a field in a struct or
an array element.)
llvm-svn: 152962
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
