[PATCH] D112934: [lld-macho] Remove no_dtrace_dof from un-implemented group.
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 2 08:47:07 PDT 2021
oontvoo updated this revision to Diff 384128.
oontvoo marked an inline comment as done.
oontvoo added a comment.
added test + shortened helptext
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112934/new/
https://reviews.llvm.org/D112934
Files:
lld/MachO/Options.td
lld/test/MachO/silent-ignore.test
Index: lld/test/MachO/silent-ignore.test
===================================================================
--- lld/test/MachO/silent-ignore.test
+++ lld/test/MachO/silent-ignore.test
@@ -3,6 +3,7 @@
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 \
Index: lld/MachO/Options.td
===================================================================
--- lld/MachO/Options.td
+++ lld/MachO/Options.td
@@ -946,6 +946,9 @@
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 @@
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]>,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112934.384128.patch
Type: text/x-patch
Size: 1366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/c2e8f763/attachment.bin>
More information about the llvm-commits
mailing list