[PATCH] D111829: [Sanitizers] Replaced getMaxPointerSizeInBits with getPointerSizeInBits, which was causing failures for 32bit x86.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 15 16:32:11 PDT 2021
vitalybuka added inline comments.
================
Comment at: llvm/lib/Analysis/StackSafetyAnalysis.cpp:756
+ uint32_t PointerSize =
+ Copy.begin()->first->getParent()->getDataLayout().getPointerSizeInBits();
StackSafetyDataFlowAnalysis<GlobalValue> SSDFA(PointerSize, std::move(Copy));
----------------
kstoimenov wrote:
> I don't think we have access to AllocaInst here, right? I will keep it like this.
yes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111829/new/
https://reviews.llvm.org/D111829
More information about the llvm-commits
mailing list