[PATCH] [asan] rewrite asan's stack frame layout

Kostya Serebryany kcc at google.com
Thu Dec 5 23:47:29 PST 2013


  Address more Alexey's comments.
  This includes actually allowing stack var alignment > 32
  Also, check that the alloca size is non-zero
  (found a case in 403.gcc where alloca is called with zero)

Hi samsonov, dvyukov,

http://llvm-reviews.chandlerc.com/D2324

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2324?vs=5931&id=5943#toc

Files:
  test/Instrumentation/AddressSanitizer/stack_layout.ll
  test/Instrumentation/AddressSanitizer/basic.ll
  include/llvm/Transforms/Utils/ASanStackFrameLayout.h
  unittests/Transforms/Utils/ASanStackFrameLayoutTest.cpp
  unittests/Transforms/Utils/CMakeLists.txt
  lib/Transforms/Utils/CMakeLists.txt
  lib/Transforms/Utils/ASanStackFrameLayout.cpp
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2324.7.patch
Type: text/x-patch
Size: 29390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131205/dcfce5a5/attachment.bin>


More information about the llvm-commits mailing list