diff options
| author | Anna Zaks <ganna@apple.com> | 2013-02-07 23:05:43 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2013-02-07 23:05:43 +0000 |
| commit | acdc13cb00591e2ab2b168c7924d7eb57fa4808e (patch) | |
| tree | 2bb86597344e1dc645c2501fc028214b3f8bdd17 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
| parent | 7c1f408636d2d2cb2bc5890735d6cac1658dd28e (diff) | |
| download | llvm-acdc13cb00591e2ab2b168c7924d7eb57fa4808e.zip llvm-acdc13cb00591e2ab2b168c7924d7eb57fa4808e.tar.gz llvm-acdc13cb00591e2ab2b168c7924d7eb57fa4808e.tar.bz2 | |
[analyzer] Add pointer escape type param to checkPointerEscape callback
The checkPointerEscape callback previously did not specify how a
pointer escaped. This change includes an enum which describes the
different ways a pointer may escape. This enum is passed to the
checkPointerEscape callback when a pointer escapes. If the escape
is due to a function call, the call is passed. This changes
previous behavior where the call is passed as NULL if the escape
was due to indirectly invalidating the region the pointer referenced.
A patch by Branden Archer!
llvm-svn: 174677
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions
