Skip to content

Commit

Permalink
Revert "[LinkerWrapper] Extend with usual pass options (llvm#96704)" (l…
Browse files Browse the repository at this point in the history
…lvm#102226)

This reverts commit 90ccf21.

Fixes: llvm#100212
(cherry picked from commit 030ee84)

Conflicts:
	clang/test/Driver/linker-wrapper-passes.c
  • Loading branch information
jhuber6 authored and tru committed Sep 1, 2024
1 parent f88180b commit 4913755
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 87 deletions.
71 changes: 0 additions & 71 deletions clang/test/Driver/linker-wrapper-passes.c

This file was deleted.

12 changes: 0 additions & 12 deletions clang/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,6 @@
if config.clang_examples:
config.available_features.add("examples")

if config.llvm_examples:
config.available_features.add("llvm-examples")

if config.llvm_linked_bye_extension:
config.substitutions.append(("%offload-opt-loadbye", ""))
else:
loadbye = f"-load-pass-plugin={config.llvm_shlib_dir}/Bye{config.llvm_shlib_ext}"
config.substitutions.append(("%offload-opt-loadbye", f"--offload-opt={loadbye}"))


def have_host_jit_feature_support(feature_name):
clang_repl_exe = lit.util.which("clang-repl", config.clang_tools_dir)
Expand Down Expand Up @@ -223,9 +214,6 @@ def have_host_clang_repl_cuda():
if config.has_plugins and config.llvm_plugin_ext:
config.available_features.add("plugins")

if config.llvm_has_plugins and config.llvm_plugin_ext:
config.available_features.add("llvm-plugins")

if config.clang_default_pie_on_linux:
config.available_features.add("default-pie-on-linux")

Expand Down
4 changes: 0 additions & 4 deletions clang/test/lit.site.cfg.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config.llvm_obj_root = path(r"@LLVM_BINARY_DIR@")
config.llvm_tools_dir = lit_config.substitute(path(r"@LLVM_TOOLS_DIR@"))
config.llvm_libs_dir = lit_config.substitute(path(r"@LLVM_LIBS_DIR@"))
config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
config.llvm_shlib_ext = "@SHLIBEXT@"
config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
config.lit_tools_dir = path(r"@LLVM_LIT_TOOLS_DIR@")
config.errc_messages = "@LLVM_LIT_ERRC_MESSAGES@"
Expand Down Expand Up @@ -40,10 +39,7 @@ config.python_executable = "@Python3_EXECUTABLE@"
config.use_z3_solver = lit_config.params.get('USE_Z3_SOLVER', "@USE_Z3_SOLVER@")
config.has_plugins = @CLANG_PLUGIN_SUPPORT@
config.clang_vendor_uti = "@CLANG_VENDOR_UTI@"
config.llvm_examples = @LLVM_BUILD_EXAMPLES@
config.llvm_linked_bye_extension = @LLVM_BYE_LINK_INTO_TOOLS@
config.llvm_external_lit = path(r"@LLVM_EXTERNAL_LIT@")
config.llvm_has_plugins = @LLVM_ENABLE_PLUGINS@
config.standalone_build = @CLANG_BUILT_STANDALONE@
config.ppc_linux_default_ieeelongdouble = @PPC_LINUX_DEFAULT_IEEELONGDOUBLE@
config.have_llvm_driver = @LLVM_TOOL_LLVM_DRIVER_BUILD@
Expand Down

0 comments on commit 4913755

Please sign in to comment.