[PATCH] D123088: attributes: introduce allockind attr for describing allocator fn behavior

Augie Fackler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 14:41:10 PDT 2022


durin42 marked 3 inline comments as done.
durin42 added inline comments.


================
Comment at: llvm/include/llvm/Analysis/MemoryBuiltins.h:111
+/// Gets the AllocKind information for a function.
+AllocFnKind getAllocKind(const CallBase *CB, const TargetLibraryInfo *TLI);
+
----------------
nikic wrote:
> You don't define this function -- or at least not in this patch.
Oh good catch, this prototype was in the wrong patch. I've moved it to the correct one. Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123088/new/

https://reviews.llvm.org/D123088



More information about the llvm-commits mailing list