[PATCH] D56452: Fix go bindings for r350647: missed a function rename
Jorge Gorbe Moya via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 8 13:30:06 PST 2019
jgorbe created this revision.
jgorbe added a reviewer: philip.pfaffe.
Repository:
rL LLVM
https://reviews.llvm.org/D56452
Files:
llvm/bindings/go/llvm/InstrumentationBindings.cpp
Index: llvm/bindings/go/llvm/InstrumentationBindings.cpp
===================================================================
--- llvm/bindings/go/llvm/InstrumentationBindings.cpp
+++ llvm/bindings/go/llvm/InstrumentationBindings.cpp
@@ -17,6 +17,7 @@
#include "llvm/IR/Module.h"
#include "llvm/Transforms/Instrumentation.h"
#include "llvm/Transforms/Instrumentation/MemorySanitizer.h"
+#include "llvm/Transforms/Instrumentation/ThreadSanitizer.h"
using namespace llvm;
@@ -29,7 +30,7 @@
}
void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM) {
- unwrap(PM)->add(createThreadSanitizerPass());
+ unwrap(PM)->add(createThreadSanitizerLegacyPassPass());
}
void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56452.180726.patch
Type: text/x-patch
Size: 739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190108/418db476/attachment.bin>
More information about the llvm-commits
mailing list