diff options
author | David Bolvansky <david.bolvansky@gmail.com> | 2019-08-28 08:28:20 +0000 |
---|---|---|
committer | David Bolvansky <david.bolvansky@gmail.com> | 2019-08-28 08:28:20 +0000 |
commit | 05bda8b4e5dc340274aaccf1cdf0ac73d1180bda (patch) | |
tree | f651be6e273cc176328d5f7ffa45191e35555204 /lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py | |
parent | b9d87b95280231f5176c1ab35fd380faf16f427d (diff) | |
download | bcm5719-llvm-05bda8b4e5dc340274aaccf1cdf0ac73d1180bda.tar.gz bcm5719-llvm-05bda8b4e5dc340274aaccf1cdf0ac73d1180bda.zip |
Annotate return values of allocation functions with dereferenceable_or_null
Summary:
Example
define dso_local noalias i8* @_Z6maixxnv() local_unnamed_addr #0 {
entry:
%call = tail call noalias dereferenceable_or_null(64) i8* @malloc(i64 64) #6
ret i8* %call
}
Reviewers: jdoerfert
Reviewed By: jdoerfert
Subscribers: aaron.ballman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66651
llvm-svn: 370168
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py')
0 files changed, 0 insertions, 0 deletions