[PATCH] D118804: Revert "[Clang] Propagate guaranteed alignment for malloc and others"

Alex Lapenkov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 7 10:17:16 PST 2022


Lapenkov added a comment.

Frankly, sounds quite inconvenient. This means that the default behavior changes for LLVM 13 and then changes back for LLVM 14.
Everyone using a custom allocator with weak alignment will need to know about this caveat and be really wary of this additional flag to ensure everything works as expected. This just burdens every user of Clang+(tcmalloc|jemalloc|mimalloc) with unnecessary steps.

Is it hard to retrofit this diff into LLVM 13?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118804



More information about the cfe-commits mailing list