[all-commits] [llvm/llvm-project] ecc847: Look through calls to std::addressof to compute po...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Wed Apr 20 11:30:32 PDT 2022
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Look through calls to std::addressof to compute pointer alignment.
This is sort of a followup to D37310; that basically fixed the same
issue, but then the libstdc++ implementation of <atomic> changed. Re-fix
the the issue in essentially the same way: look through the addressof
operation to find the alignment of the underlying object.
Differential Revision: https://reviews.llvm.org/D123950
More information about the All-commits