[lld] d7e5393 - [lld-macho] Remove no_dtrace_dof from un-implemented group.
Vy Nguyen via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 2 09:36:32 PDT 2021
Author: Vy Nguyen
Date: 2021-11-02T12:36:08-04:00
New Revision: d7e5393af4d7e903dad172ac2f8dbc8e0afddde9
URL: https://github.com/llvm/llvm-project/commit/d7e5393af4d7e903dad172ac2f8dbc8e0afddde9
DIFF: https://github.com/llvm/llvm-project/commit/d7e5393af4d7e903dad172ac2f8dbc8e0afddde9.diff
LOG: [lld-macho] Remove no_dtrace_dof from un-implemented group.
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
Added:
Modified:
lld/MachO/Options.td
lld/test/MachO/silent-ignore.test
Removed:
################################################################################
diff --git a/lld/MachO/Options.td b/lld/MachO/Options.td
index 39212597e31fb..004fb369066b4 100644
--- a/lld/MachO/Options.td
+++ b/lld/MachO/Options.td
@@ -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">;
@@ -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]>,
diff --git a/lld/test/MachO/silent-ignore.test b/lld/test/MachO/silent-ignore.test
index 3e96d7183ff42..2cabd79d73ce5 100644
--- a/lld/test/MachO/silent-ignore.test
+++ b/lld/test/MachO/silent-ignore.test
@@ -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 \
More information about the llvm-commits
mailing list