diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-11-29 13:12:03 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-11-29 13:12:03 +0000 |
commit | 2ea25f2f1cd29b617c768af504210127827fa2e3 (patch) | |
tree | 6d46f8fc761aaa8eda37b5430bf1edd8500ce391 /lib/Transforms | |
parent | 323c3acf5139da4e1f59763c9ec224df2cf40ee2 (diff) | |
download | llvm-2ea25f2f1cd29b617c768af504210127827fa2e3.tar.gz llvm-2ea25f2f1cd29b617c768af504210127827fa2e3.tar.bz2 llvm-2ea25f2f1cd29b617c768af504210127827fa2e3.tar.xz |
[msan] Fix a few compilation warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Instrumentation/MemorySanitizer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 7433409345..ed0f89bfb5 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -186,8 +186,8 @@ private: /// \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 @@ struct VarArgHelper { /// This method is called after visiting all interesting (see above) /// instructions in a function. virtual void finalizeInstrumentation() = 0; + + virtual ~VarArgHelper() {} }; struct MemorySanitizerVisitor; |