From: Jorge Gorbe Moya Date: Thu, 10 Jan 2019 01:51:54 +0000 (+0000) Subject: Revert "Fix go bindings for r350647: missed a function rename" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2213e7fa1db099e94237c9203f84df3269ac8e87;p=llvm Revert "Fix go bindings for r350647: missed a function rename" This reverts commit a74266858a8164cfb23d4e138cd4c7c37be0b5d1. SVN revision r350657. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350790 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/go/llvm/InstrumentationBindings.cpp b/bindings/go/llvm/InstrumentationBindings.cpp index c3b4f2eaf50..6ce43db620a 100644 --- a/bindings/go/llvm/InstrumentationBindings.cpp +++ b/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) {