[PATCH] D48593: Reuse code for calculating allocation size for alloca
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 26 07:11:35 PDT 2018
bjope created this revision.
The AllocaInst class now got two methods for calculating the
allocation size for the alloca (in bits and in bytes).
This include minor refactoring in SafeStack, AddressSanitizer
and HWAddressSanitizer to use those methods.
Repository:
rL LLVM
https://reviews.llvm.org/D48593
Files:
include/llvm/IR/Instructions.h
lib/CodeGen/SafeStack.cpp
lib/IR/Instructions.cpp
lib/Transforms/Instrumentation/AddressSanitizer.cpp
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48593.152884.patch
Type: text/x-patch
Size: 4429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180626/39cb7735/attachment.bin>
More information about the llvm-commits
mailing list