Skip to content

Commit

Permalink
[lld-macho] Remove no_dtrace_dof from un-implemented group.
Browse files Browse the repository at this point in the history
One fewer warning.
In practice, lld already "implements" it. (ie., it does not do dtrace-dof processing ever).

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D112934
  • Loading branch information
oontvoo committed Nov 2, 2021
1 parent 8af9912 commit d7e5393
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lld/MachO/Options.td
Expand Up @@ -946,6 +946,9 @@ def mllvm : Separate<["-"], "mllvm">,
def mcpu : Separate<["-"], "mcpu">,
HelpText<"Processor family target for LTO code generation">,
Group<grp_rare>;
def no_dtrace_dof : Flag<["-"], "no_dtrace_dof">,
HelpText<"Disable dtrace-dof processing (default).">,
Group<grp_rare>;

def grp_deprecated : OptionGroup<"deprecated">, HelpText<"DEPRECATED">;

Expand Down Expand Up @@ -1271,10 +1274,6 @@ def no_compact_unwind : Flag<["-"], "no_compact_unwind">,
HelpText<"This option is undocumented in ld64">,
Flags<[HelpHidden]>,
Group<grp_undocumented>;
def no_dtrace_dof : Flag<["-"], "no_dtrace_dof">,
HelpText<"This option is undocumented in ld64">,
Flags<[HelpHidden]>,
Group<grp_undocumented>;
def no_new_main : Flag<["-"], "no_new_main">,
HelpText<"This option is undocumented in ld64">,
Flags<[HelpHidden]>,
Expand Down
1 change: 1 addition & 0 deletions lld/test/MachO/silent-ignore.test
Expand Up @@ -3,6 +3,7 @@ RUN: -dynamic \
RUN: -no_deduplicate \
RUN: -lto_library /lib/foo \
RUN: -macosx_version_min 0 \
RUN: -no_dtrace_dof \
RUN: -dependency_info /path/to/dependency_info.dat \
RUN: -lto_library ../lib/libLTO.dylib \
RUN: -mllvm -time-passes \
Expand Down

0 comments on commit d7e5393

Please sign in to comment.