summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
diff options
context:
space:
mode:
authorFrederich Munch <colsebas@hotmail.com>2017-06-13 19:05:24 +0000
committerFrederich Munch <colsebas@hotmail.com>2017-06-13 19:05:24 +0000
commit6391c7e2a13ad00af853d0eeff718ddde8807da6 (patch)
tree463ff64f523a2a3b73ef686b79a28f07d5c99cba /llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
parent769d8d185c899e49f118d6f471e238a5780610ef (diff)
downloadbcm5719-llvm-6391c7e2a13ad00af853d0eeff718ddde8807da6.tar.gz
bcm5719-llvm-6391c7e2a13ad00af853d0eeff718ddde8807da6.zip
Revert r305313 & r305303, self-hosting build-bot isn’t liking it.
llvm-svn: 305318
Diffstat (limited to 'llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx')
-rw-r--r--llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx16
1 files changed, 2 insertions, 14 deletions
diff --git a/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx b/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
index 0c2ec0010af..375d72c0b53 100644
--- a/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
+++ b/llvm/unittests/Support/DynamicLibrary/PipSqueak.cxx
@@ -8,10 +8,6 @@
//===----------------------------------------------------------------------===//
#include "PipSqueak.h"
-#include "llvm/Transforms/IPO/PassManagerBuilder.h"
-
-#define PIPSQUEAK_TESTA_RETURN "LibCall"
-#include "ExportedFuncs.cxx"
struct Global {
std::string *Str;
@@ -49,13 +45,5 @@ extern "C" PIPSQUEAK_EXPORT void TestOrder(std::vector<std::string> &V) {
Glb.Vec = &V;
}
-
-static void LibPassRegistration(const llvm::PassManagerBuilder &,
- llvm::legacy::PassManagerBase &) {}
-
-extern "C" PIPSQUEAK_EXPORT void TestPassReg(
- void (*addGlobalExtension)(llvm::PassManagerBuilder::ExtensionPointTy,
- llvm::PassManagerBuilder::ExtensionProc)) {
- addGlobalExtension(llvm::PassManagerBuilder::EP_EarlyAsPossible,
- LibPassRegistration);
-}
+#define PIPSQUEAK_TESTA_RETURN "LibCall"
+#include "ExportedFuncs.cxx"
OpenPOWER on IntegriCloud