[PATCH] [msan] Allow using a MemorySanitizer instance for functions across different modules
Evgeniy Stepanov
eugenis at google.com
Fri Apr 10 02:19:51 PDT 2015
REPOSITORY
rL LLVM
================
Comment at: lib/Transforms/Instrumentation/MemorySanitizer.cpp:370
@@ -369,2 +369,2 @@
IRBuilder<> IRB(*C);
----------------
Do we need to reinit C as well? What about things like DataLayout, TargetTriple (I'm looking at MemorySanitizer::doInitialization) etc? Where do we stop?
Perhaps it would be cleaner to detect the change of ModuleID and reinit everything?
http://reviews.llvm.org/D8949
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list