[llvm] r320381 - [MSan] Hotfix compilation
Alexander Potapenko via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 07:48:56 PST 2017
Author: glider
Date: Mon Dec 11 07:48:56 2017
New Revision: 320381
URL: http://llvm.org/viewvc/llvm-project?rev=320381&view=rev
Log:
[MSan] Hotfix compilation
For some reason the override directives got removed in r320373.
I suspect this to be an unwanted effect of clang-format.
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=320381&r1=320380&r2=320381&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Mon Dec 11 07:48:56 2017
@@ -3182,14 +3182,14 @@ struct VarArgAMD64Helper : public VarArg
// nonzero shadow.
}
- void visitVAStartInst(VAStartInst &I) {
+ void visitVAStartInst(VAStartInst &I) override {
if (F.getCallingConv() == CallingConv::Win64)
return;
VAStartInstrumentationList.push_back(&I);
unpoisonVAListTagForInst(I);
}
- void visitVACopyInst(VACopyInst &I) {
+ void visitVACopyInst(VACopyInst &I) override {
if (F.getCallingConv() == CallingConv::Win64) return;
unpoisonVAListTagForInst(I);
}
More information about the llvm-commits
mailing list