[PATCH] D138932: [ELF] Ignore --no-(enum|wchar)-size-warning for ARM/AArch64

Brett Werling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 11:14:28 PST 2022


bwerl updated this revision to Diff 478655.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138932/new/

https://reviews.llvm.org/D138932

Files:
  lld/ELF/Options.td
  lld/test/ELF/silent-ignore.test


Index: lld/test/ELF/silent-ignore.test
===================================================================
--- lld/test/ELF/silent-ignore.test
+++ lld/test/ELF/silent-ignore.test
@@ -5,9 +5,11 @@
 RUN:   --no-add-needed \
 RUN:   -no-copy-dt-needed-entries \
 RUN:   -no-ctors-in-init-array \
+RUN:   --no-enum-size-warning \
 RUN:   -no-keep-memory \
 RUN:   --no-relax \
 RUN:   -no-warn-mismatch \
+RUN:   --no-wchar-size-warning \
 RUN:   -rpath-link . \
 RUN:   -secure-plt \
 RUN:   -sort-common \
Index: lld/ELF/Options.td
===================================================================
--- lld/ELF/Options.td
+++ lld/ELF/Options.td
@@ -704,8 +704,10 @@
 def: FF<"no-add-needed">;
 def: F<"no-copy-dt-needed-entries">;
 def: F<"no-ctors-in-init-array">;
+def: FF<"no-enum-size-warning">;
 def: F<"no-keep-memory">;
 def: F<"no-warn-mismatch">;
+def: FF<"no-wchar-size-warning">;
 def: Separate<["--", "-"], "rpath-link">;
 def: J<"rpath-link=">;
 def: F<"secure-plt">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138932.478655.patch
Type: text/x-patch
Size: 980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221129/a7c83fba/attachment.bin>


More information about the llvm-commits mailing list