[compiler-rt] r293731 - [sancov] Move __sancov_default_options declaration outside the namespace __sancov
Marcos Pividori via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 17:36:19 PST 2017
Author: mpividori
Date: Tue Jan 31 19:36:19 2017
New Revision: 293731
URL: http://llvm.org/viewvc/llvm-project?rev=293731&view=rev
Log:
[sancov] Move __sancov_default_options declaration outside the namespace __sancov
After this commint, we can include sancov_flags.h and refer to
__sancov_default_options without requiring the namespace prefix.
Differential Revision: https://reviews.llvm.org/D29167
Modified:
compiler-rt/trunk/lib/sanitizer_common/sancov_flags.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sancov_flags.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sancov_flags.h?rev=293731&r1=293730&r2=293731&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sancov_flags.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sancov_flags.h Tue Jan 31 19:36:19 2017
@@ -32,9 +32,9 @@ inline SancovFlags* sancov_flags() { ret
void InitializeSancovFlags();
+} // namespace __sancov
+
extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE const char*
__sancov_default_options();
-} // namespace __sancov
-
#endif
More information about the llvm-commits
mailing list