[PATCH] D48905: [ADT] Guard our use of function pointers in a `PointerUnion` by a dynamic check that the pointer is actually sufficiently aligned.
Justin Bogner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 3 17:07:11 PDT 2018
bogner accepted this revision.
bogner added a comment.
This revision is now accepted and ready to land.
This fixes the segfault / asan error I was seeing in ADTTests with -Os on macOS, and the trade off with the runtime check seems pretty reasonable to me.
Repository:
rL LLVM
https://reviews.llvm.org/D48905
More information about the llvm-commits
mailing list