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

Kostya Serebryany kcc at google.com
Fri Dec 6 00:41:33 PST 2013


  Change the layout so that the frame size is multiple of MinHeaderSize.
  Otherwise we generate too many small stores to poison the tail of shadow.

Hi samsonov, dvyukov,

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

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

Files:
  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
  test/Instrumentation/AddressSanitizer/stack_layout.ll
  test/Instrumentation/AddressSanitizer/basic.ll
  include/llvm/Transforms/Utils/ASanStackFrameLayout.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2324.8.patch
Type: text/x-patch
Size: 29861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131206/7e74684c/attachment.bin>


More information about the llvm-commits mailing list