Fix go bindings for r350647: missed a function rename

Differential Revision: https://reviews.llvm.org/D56452

llvm-svn: 350657
This commit is contained in:
Jorge Gorbe Moya 2019-01-08 21:45:42 +00:00
parent 2fe4900525
commit 4b284ef81a
1 changed files with 2 additions and 1 deletions

View File

@ -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(LLVMPassManagerRef PM) {
}
void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createThreadSanitizerPass());
unwrap(PM)->add(createThreadSanitizerLegacyPassPass());
}
void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM) {