summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2017-12-11 15:48:56 +0000
committerAlexander Potapenko <glider@google.com>2017-12-11 15:48:56 +0000
commit3c934e4864be2e906c438f80c332371bc9db4a08 (patch)
tree1b72151cf5fc8cbae1e5e214d91c6c24575deb2a /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
parentd9d37f8c3cab439248d57d60d570aea5fbac6c5e (diff)
downloadbcm5719-llvm-3c934e4864be2e906c438f80c332371bc9db4a08.tar.gz
bcm5719-llvm-3c934e4864be2e906c438f80c332371bc9db4a08.zip
[MSan] Hotfix compilation
For some reason the override directives got removed in r320373. I suspect this to be an unwanted effect of clang-format. llvm-svn: 320381
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index ace657f0682..b3c39b5b166 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -3182,14 +3182,14 @@ struct VarArgAMD64Helper : public VarArgHelper {
// 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);
}
OpenPOWER on IntegriCloud