BuildLibCalls: infer allocptr attribute for free and realloc() family functions
authorAugie Fackler <augie@google.com>
Wed, 16 Mar 2022 17:53:18 +0000 (13:53 -0400)
committerAugie Fackler <augie@google.com>
Mon, 2 May 2022 13:43:21 +0000 (09:43 -0400)
commite94045653106028b4d3dda26a5a2bb42244796be
treec6712c1ff7e8a0c230a22135a1eca97c89f2a846
parent9a14c369c422b244db78f1a9f947a891a75d912f
BuildLibCalls: infer allocptr attribute for free and realloc() family functions

Differential Revision: https://reviews.llvm.org/D123084
llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/test/Transforms/InferFunctionAttrs/annotate.ll