[PATCH] [compiler-rt] Don't instrument globals from __objc_classname
Kuba Brecka
kuba.brecka at gmail.com
Tue Dec 2 21:27:15 PST 2014
Modified the patch to use MCSectionMachO::ParseSectionSpecifier to correctly parse the section name, segment name and attributes.
I had to modify a couple of function prototypes to pass the llvm::Triple in order to avoid creating the Triple object for each global. Not sure if there's an easier way.
http://reviews.llvm.org/D6488
Files:
lib/Transforms/Instrumentation/AddressSanitizer.cpp
projects/compiler-rt/test/asan/TestCases/Darwin/objc-odr.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6488.16851.patch
Type: text/x-patch
Size: 7866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141203/6044c1da/attachment.bin>
More information about the llvm-commits
mailing list