Skip to content

Commit a07d4c0

Browse files
authored
[lld/ELF,gold] Remove transitionary opaque pointer flags (#65529)
This was only useful during the transition when mixing non-opaque-pointer and opaque-pointer IR, now everything uses opaque pointers.
1 parent 01c0a6a commit a07d4c0

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lld/ELF/Options.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,6 @@ def: J<"plugin-opt=cs-profile-path=">,
673673
def: J<"plugin-opt=obj-path=">,
674674
Alias<lto_obj_path_eq>,
675675
HelpText<"Alias for --lto-obj-path=">;
676-
def plugin_opt_opaque_pointers: F<"plugin-opt=opaque-pointers">,
677-
HelpText<"Use opaque pointers in IR during LTO (default)">;
678676
def: J<"plugin-opt=opt-remarks-filename=">,
679677
Alias<opt_remarks_filename>,
680678
HelpText<"Alias for --opt-remarks-filename">;

llvm/tools/gold/gold-plugin.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,6 @@ namespace options {
308308
RemarksFormat = std::string(opt);
309309
} else if (opt.consume_front("stats-file=")) {
310310
stats_file = std::string(opt);
311-
} else if (opt == "opaque-pointers") {
312-
// We always use opaque pointers.
313311
} else {
314312
// Save this option to pass to the code generator.
315313
// ParseCommandLineOptions() expects argv[0] to be program name. Lazily

0 commit comments

Comments
 (0)