[all-commits] [llvm/llvm-project] 82d3c0: [AIX] Add %pluginext and update tests to use prope...

David Tenty via All-commits all-commits at lists.llvm.org
Tue Apr 27 17:35:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82d3c0759fa0f0d3789f9b88d5f5e8cc6e97126f
      https://github.com/llvm/llvm-project/commit/82d3c0759fa0f0d3789f9b88d5f5e8cc6e97126f
  Author: David Tenty <daltenty at ibm.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

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

  Log Message:
  -----------
  [AIX] Add %pluginext and update tests to use proper pluginext

As a follow on to D96282, since bug point passes is built as a module the proper file extension to use is LLVM_PLUGIN_EXT, rather than SHLIBEXT. Using SHLIBEXT causes the tests to load a non-existent file on AIX. We also adjust the PluginsTest unittest  to use LLVM_PLUGIN_EXT for similar reasons.

This change should hopefully 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.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D101412




More information about the All-commits mailing list