1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

[msan] Fix a few compilation warnings.

llvm-svn: 168878
This commit is contained in:
Evgeniy Stepanov 2012-11-29 13:12:03 +00:00
parent a193a72b44
commit 61a9349bab

View File

@ -186,8 +186,8 @@ private:
/// \brief An empty volatile inline asm that prevents callback merge. /// \brief An empty volatile inline asm that prevents callback merge.
InlineAsm *EmptyAsm; InlineAsm *EmptyAsm;
friend class MemorySanitizerVisitor; friend struct MemorySanitizerVisitor;
friend class VarArgAMD64Helper; friend struct VarArgAMD64Helper;
}; };
} // namespace } // namespace
@ -336,6 +336,8 @@ struct VarArgHelper {
/// This method is called after visiting all interesting (see above) /// This method is called after visiting all interesting (see above)
/// instructions in a function. /// instructions in a function.
virtual void finalizeInstrumentation() = 0; virtual void finalizeInstrumentation() = 0;
virtual ~VarArgHelper() {}
}; };
struct MemorySanitizerVisitor; struct MemorySanitizerVisitor;