[PATCH] D53745: [ASan] Separate Initialization from AddressSanitizer Constructor
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 25 23:58:43 PDT 2018
leonardchan created this revision.
Herald added subscribers: llvm-commits, hiraditya.
The `AddressSanitizer` initialization occurs on construction when it doesn't need to be initialized every time. The same sanitizer object can be used multiple times and initialized once. This makes `AddressSanitizer` a member of `AddressSanitizerLegacyPass` so the initialization only needs to be called once instead of on every function run.
Repository:
rL LLVM
https://reviews.llvm.org/D53745
Files:
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53745.171252.patch
Type: text/x-patch
Size: 5132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181026/491b472c/attachment.bin>
More information about the llvm-commits
mailing list