[PATCH] D117923: BuildLibCalls: add allocalign attributes for memalign and aligned_alloc

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 07:42:26 PST 2022


nikic added a comment.

Unlike C allocator functions, we do not annotate operator new in SLC. Operator new annotations are left to clang. I believe you should already find handling for aligned new there and just need to switch it to use the new attribute rather than emitting an alignment assumption.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117923



More information about the llvm-commits mailing list