[llvm] r350657 - Fix go bindings for r350647: missed a function rename
Jorge Gorbe Moya via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 8 13:45:42 PST 2019
Author: jgorbe
Date: Tue Jan 8 13:45:42 2019
New Revision: 350657
URL: http://llvm.org/viewvc/llvm-project?rev=350657&view=rev
Log:
Fix go bindings for r350647: missed a function rename
Differential Revision: https://reviews.llvm.org/D56452
Modified:
llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp
Modified: llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp?rev=350657&r1=350656&r2=350657&view=diff
==============================================================================
--- llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp (original)
+++ llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp Tue Jan 8 13:45:42 2019
@@ -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 LLVMAddAddressSanitizerModulePass(L
}
void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM) {
- unwrap(PM)->add(createThreadSanitizerPass());
+ unwrap(PM)->add(createThreadSanitizerLegacyPassPass());
}
void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM) {
More information about the llvm-commits
mailing list