[PATCH] [compiler-rt] Don't instrument globals from __objc_classname
Alexander Potapenko
glider at google.com
Wed Dec 3 09:34:52 PST 2014
LGTM
================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:1271
@@ -1258,2 +1270,3 @@
IntptrTy = Type::getIntNTy(*C, LongSize);
- Mapping = getShadowMapping(M, LongSize);
+ Triple TargetTriple(M.getTargetTriple());
+ Mapping = getShadowMapping(TargetTriple, LongSize);
----------------
How about making TargetTriple a class member?
http://reviews.llvm.org/D6488
More information about the llvm-commits
mailing list