[PATCH] D11307: Don't try to instrument allocas used by outlined SEH funclets

Reid Kleckner rnk at google.com
Fri Jul 17 13:02:39 PDT 2015


rnk created this revision.
rnk added a reviewer: eugenis.
rnk added a subscriber: llvm-commits.

Arguments to llvm.localescape must be static allocas. They must be at
some statically known offset from the frame or stack pointer so that
other functions can access them with localrecover.

If we ever want to instrument these, we can use more indirection to
recover the addresses of these local variables. We can do it during
clang irgen or with the asan module pass.

http://reviews.llvm.org/D11307

Files:
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  test/Instrumentation/AddressSanitizer/localescape.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11307.30023.patch
Type: text/x-patch
Size: 7673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150717/a66e1737/attachment.bin>


More information about the llvm-commits mailing list