From 4d9ecaa8d789ce42c09cb10d422f4ca249163870 Mon Sep 17 00:00:00 2001 From: Jorge Gorbe Moya Date: Thu, 10 Jan 2019 01:51:54 +0000 Subject: [PATCH] Revert "Fix go bindings for r350647: missed a function rename" This reverts commit a74266858a8164cfb23d4e138cd4c7c37be0b5d1. SVN revision r350657. llvm-svn: 350790 --- llvm/bindings/go/llvm/InstrumentationBindings.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/bindings/go/llvm/InstrumentationBindings.cpp b/llvm/bindings/go/llvm/InstrumentationBindings.cpp index c3b4f2eaf508..6ce43db620a2 100644 --- a/llvm/bindings/go/llvm/InstrumentationBindings.cpp +++ b/llvm/bindings/go/llvm/InstrumentationBindings.cpp @@ -17,7 +17,6 @@ #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; @@ -30,7 +29,7 @@ void LLVMAddAddressSanitizerModulePass(LLVMPassManagerRef PM) { } void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM) { - unwrap(PM)->add(createThreadSanitizerLegacyPassPass()); + unwrap(PM)->add(createThreadSanitizerPass()); } void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM) {