[llvm-commits] [llvm] r168878 - /llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Nov 29 05:12:03 PST 2012
Author: eugenis
Date: Thu Nov 29 07:12:03 2012
New Revision: 168878
URL: http://llvm.org/viewvc/llvm-project?rev=168878&view=rev
Log:
[msan] Fix a few compilation warnings.
Modified:
llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=168878&r1=168877&r2=168878&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Thu Nov 29 07:12:03 2012
@@ -186,8 +186,8 @@
/// \brief An empty volatile inline asm that prevents callback merge.
InlineAsm *EmptyAsm;
- friend class MemorySanitizerVisitor;
- friend class VarArgAMD64Helper;
+ friend struct MemorySanitizerVisitor;
+ friend struct VarArgAMD64Helper;
};
} // namespace
@@ -336,6 +336,8 @@
/// This method is called after visiting all interesting (see above)
/// instructions in a function.
virtual void finalizeInstrumentation() = 0;
+
+ virtual ~VarArgHelper() {}
};
struct MemorySanitizerVisitor;
More information about the llvm-commits
mailing list