[llvm] [lld/ELF] Remove transitionary -plugin-opt=opaque-pointers flag (PR #65529)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 6 13:39:14 PDT 2023
https://github.com/aeubanks updated https://github.com/llvm/llvm-project/pull/65529:
>From 5de394c3e340969cdefbc595f194b16fe28cbd8a Mon Sep 17 00:00:00 2001
From: Arthur Eubanks <aeubanks at google.com>
Date: Wed, 6 Sep 2023 13:30:21 -0700
Subject: [PATCH] [lld/ELF,gold] Remove transitionary opaque pointer flags
This was only useful during the transition when mixing non-opaque-pointer and opaque-pointer IR, now everything uses opaque pointers.
---
lld/ELF/Options.td | 2 --
llvm/tools/gold/gold-plugin.cpp | 2 --
2 files changed, 4 deletions(-)
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index 7c7664924d82897..a3adf49e3d66e10 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -673,8 +673,6 @@ def: J<"plugin-opt=cs-profile-path=">,
def: J<"plugin-opt=obj-path=">,
Alias<lto_obj_path_eq>,
HelpText<"Alias for --lto-obj-path=">;
-def plugin_opt_opaque_pointers: F<"plugin-opt=opaque-pointers">,
- HelpText<"Use opaque pointers in IR during LTO (default)">;
def: J<"plugin-opt=opt-remarks-filename=">,
Alias<opt_remarks_filename>,
HelpText<"Alias for --opt-remarks-filename">;
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index 59bd3f6e6686001..d43f27d9216ab07 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -308,8 +308,6 @@ namespace options {
RemarksFormat = std::string(opt);
} else if (opt.consume_front("stats-file=")) {
stats_file = std::string(opt);
- } else if (opt == "opaque-pointers") {
- // We always use opaque pointers.
} else {
// Save this option to pass to the code generator.
// ParseCommandLineOptions() expects argv[0] to be program name. Lazily
More information about the llvm-commits
mailing list