]> granicus.if.org Git - llvm/commitdiff
Revert "Fix go bindings for r350647: missed a function rename"
authorJorge Gorbe Moya <jgorbe@google.com>
Thu, 10 Jan 2019 01:51:54 +0000 (01:51 +0000)
committerJorge Gorbe Moya <jgorbe@google.com>
Thu, 10 Jan 2019 01:51:54 +0000 (01:51 +0000)
This reverts commit a74266858a8164cfb23d4e138cd4c7c37be0b5d1. SVN revision r350657.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350790 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/go/llvm/InstrumentationBindings.cpp

index c3b4f2eaf508e593c5f0b17616705487882cc866..6ce43db620a215bc7685b0f337b07be971cd3be3 100644 (file)
@@ -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) {