[PATCH] D101412: [AIX] Add %pluginext and update tests to use proper pluginext

David Tenty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 16:38:59 PDT 2021


daltenty created this revision.
daltenty requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Since bug point passes is built as a module, the proper file extension to use is LLVM_PLUGIN_EXT, but the bugpoint test instead use SHLIBEXT. This cause the tests to load a non-existant file on AIX.

This change should make little difference to other platforms, since generally SHLIBEXT=LTDL_SHLIB_EXT=CMAKE_SHARED_LIBRARY_SUFFIX and LLVM_PLUGIN_EXT=CMAKE_SHARED_LIBRARY_SUFFIX on every platform except AIX.

We also adjust the PluginsTest unittest  to use LLVM_PLUGIN_EXT.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101412

Files:
  llvm/test/BugPoint/attr-crash.ll
  llvm/test/BugPoint/compile-custom.ll
  llvm/test/BugPoint/crash-narrowfunctiontest.ll
  llvm/test/BugPoint/func-attrs-keyval.ll
  llvm/test/BugPoint/func-attrs.ll
  llvm/test/BugPoint/invalid-debuginfo.ll
  llvm/test/BugPoint/metadata.ll
  llvm/test/BugPoint/named-md.ll
  llvm/test/BugPoint/remove_arguments_test.ll
  llvm/test/BugPoint/replace-funcs-with-null.ll
  llvm/test/BugPoint/retain-crashing-metadata.ll
  llvm/test/BugPoint/unsymbolized.ll
  llvm/test/lit.cfg.py
  llvm/test/lit.site.cfg.py.in
  llvm/unittests/Passes/PluginsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101412.341025.patch
Type: text/x-patch
Size: 11573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210427/6b870884/attachment.bin>


More information about the llvm-commits mailing list