[PATCH] D49292: [MSan] factor userspace-specific declarations into createUserspaceApi(). NFC
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 13 09:50:32 PDT 2018
eugenis added inline comments.
================
Comment at: lib/Transforms/Instrumentation/MemorySanitizer.cpp:593
+ // Only do this once.
+ static bool CallbacksInitialized = false;
+ if (CallbacksInitialized)
----------------
This should probably be a property of a module, not a compiler invocation.
Repository:
rL LLVM
https://reviews.llvm.org/D49292
More information about the llvm-commits
mailing list