[llvm] r350790 - Revert "Fix go bindings for r350647: missed a function rename"

Jorge Gorbe Moya via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 9 17:51:54 PST 2019


Author: jgorbe
Date: Wed Jan  9 17:51:54 2019
New Revision: 350790

URL: http://llvm.org/viewvc/llvm-project?rev=350790&view=rev
Log:
Revert "Fix go bindings for r350647: missed a function rename"

This reverts commit a74266858a8164cfb23d4e138cd4c7c37be0b5d1. SVN revision r350657.

Modified:
    llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp

Modified: llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp?rev=350790&r1=350789&r2=350790&view=diff
==============================================================================
--- llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp (original)
+++ llvm/trunk/bindings/go/llvm/InstrumentationBindings.cpp Wed Jan  9 17:51:54 2019
@@ -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(L
 }
 
 void LLVMAddThreadSanitizerPass(LLVMPassManagerRef PM) {
-  unwrap(PM)->add(createThreadSanitizerLegacyPassPass());
+  unwrap(PM)->add(createThreadSanitizerPass());
 }
 
 void LLVMAddMemorySanitizerLegacyPassPass(LLVMPassManagerRef PM) {




More information about the llvm-commits mailing list