[PATCH] D28589: [asan] Refactor instrumentation of globals.
Evgeniy Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 17:21:19 PST 2017
eugenis created this revision.
eugenis added reviewers: rnk, pcc.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.
Move instrumentation code for different platforms (coff/macho/generic) to separate functions.
+50 lines of code, but way more readable, especially if (or when) we end up adding elf-specific instrumentation.
This is https://reviews.llvm.org/D28498 without any new functionality.
Repository:
rL LLVM
https://reviews.llvm.org/D28589
Files:
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28589.84059.patch
Type: text/x-patch
Size: 18864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/1194a5fd/attachment.bin>
More information about the llvm-commits
mailing list