Skip to content

Commit

Permalink
Fix go bindings for r350647: missed a function rename
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D56452

llvm-svn: 350657
  • Loading branch information
slackito committed Jan 8, 2019
1 parent 2fe4900 commit 4b284ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/bindings/go/llvm/InstrumentationBindings.cpp
Expand Up @@ -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;

Expand All @@ -29,7 +30,7 @@ void LLVMAddAddressSanitizerModulePass(LLVMPassManagerRef PM) {
}

void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createThreadSanitizerPass());
unwrap(PM)->add(createThreadSanitizerLegacyPassPass());
}

void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM) {
Expand Down

0 comments on commit 4b284ef

Please sign in to comment.