[PATCH] D65770: hwasan: Instrument globals.
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 5 14:29:48 PDT 2019
vitalybuka added inline comments.
================
Comment at: llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:1203
+ Constant *Initializer = GV->getInitializer();
+ uint64_t SizeInBytes =
+ M.getDataLayout().getTypeAllocSize(Initializer->getType());
----------------
what is going to happen with size > 2^24?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65770/new/
https://reviews.llvm.org/D65770
More information about the cfe-commits
mailing list