[PATCH] D121629: clang: also check alloc_alignment claims in return
Augie Fackler via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 14 11:24:50 PDT 2022
durin42 added a comment.
In D121629#3380175 <https://reviews.llvm.org/D121629#3380175>, @lebedev.ri wrote:
> Please can you pose the next patch itself?
> I suspect that propagation should simply not be done when sanitizer is enabled.
I'm working on the next patch. Sadly we can't omit `allocalign`s into the IR layer when sanitizers are enabled because nothing will (when I'm done cleaning up MemoryBuiltins.cpp) have a way to know anything about the alignment of returned pointers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121629/new/
https://reviews.llvm.org/D121629
More information about the cfe-commits
mailing list