diff options
author | Jorge Gorbe Moya <jgorbe@google.com> | 2019-01-10 01:51:54 +0000 |
---|---|---|
committer | Jorge Gorbe Moya <jgorbe@google.com> | 2019-01-10 01:51:54 +0000 |
commit | 4d9ecaa8d789ce42c09cb10d422f4ca249163870 (patch) | |
tree | 631d9f12a63f94dc6fe5f485571e7f74988c9afe | |
parent | fdca5fab606b6f9a6a37b0d406b75c2d8c2d743f (diff) | |
download | bcm5719-llvm-4d9ecaa8d789ce42c09cb10d422f4ca249163870.tar.gz bcm5719-llvm-4d9ecaa8d789ce42c09cb10d422f4ca249163870.zip |
Revert "Fix go bindings for r350647: missed a function rename"
This reverts commit a74266858a8164cfb23d4e138cd4c7c37be0b5d1. SVN revision r350657.
llvm-svn: 350790
-rw-r--r-- | llvm/bindings/go/llvm/InstrumentationBindings.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/bindings/go/llvm/InstrumentationBindings.cpp b/llvm/bindings/go/llvm/InstrumentationBindings.cpp index c3b4f2eaf50..6ce43db620a 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) { |