diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-19 19:16:35 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-05-19 19:16:35 +0000 |
| commit | df4fed6fe7843d78613f0f3f574ed77664f9789f (patch) | |
| tree | abbe23ca79be5ca37f4096eb94d15d2bb471ee15 | |
| parent | 69ba0613f2b9ae20fc00fc547fd125d52629d5a6 (diff) | |
| download | bcm5719-llvm-df4fed6fe7843d78613f0f3f574ed77664f9789f.tar.gz bcm5719-llvm-df4fed6fe7843d78613f0f3f574ed77664f9789f.zip | |
[polly] Drop nonexistant LLVM_PLUGIN_EXPORT macro from llvmGetPassPluginInfo()
Fixes build:
/build/polly/lib/Support/RegisterPasses.cpp:709:80: error: expected ';' after top level declarator
extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK LLVM_PLUGIN_EXPORT
^
;
Was missed in rL332796 / D47082
llvm-svn: 332814
| -rw-r--r-- | polly/lib/Support/RegisterPasses.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index 2ce0f63e0f5..975ec57460c 100644 --- a/polly/lib/Support/RegisterPasses.cpp +++ b/polly/lib/Support/RegisterPasses.cpp @@ -706,7 +706,7 @@ void RegisterPollyPasses(PassBuilder &PB) { } // namespace polly // Plugin Entrypoint: -extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK LLVM_PLUGIN_EXPORT +extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK llvmGetPassPluginInfo() { return {LLVM_PLUGIN_API_VERSION, "Polly", LLVM_VERSION_STRING, polly::RegisterPollyPasses}; |

