summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Passes/TestPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Passes/TestPlugin.cpp')
-rw-r--r--llvm/unittests/Passes/TestPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Passes/TestPlugin.cpp b/llvm/unittests/Passes/TestPlugin.cpp
index 2ba6f9baf22..3dc5cdc8476 100644
--- a/llvm/unittests/Passes/TestPlugin.cpp
+++ b/llvm/unittests/Passes/TestPlugin.cpp
@@ -32,7 +32,7 @@ void registerCallbacks(PassBuilder &PB) {
});
}
-extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK LLVM_PLUGIN_EXPORT
+extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK
llvmGetPassPluginInfo() {
return {LLVM_PLUGIN_API_VERSION, TEST_PLUGIN_NAME, TEST_PLUGIN_VERSION,
registerCallbacks};
OpenPOWER on IntegriCloud