This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Ignore --no-(enum|wchar)-size-warning for ARM/AArch64
Needs ReviewPublic

Authored by bwerl on Nov 29 2022, 11:06 AM.



Adds --no-enum-size-warning and --no-wchar-size-warning to the list of
ignored args for lld. These are valid arguments to GNU ld for
ARM/AArch64, so for compatibility they are now accepted but just
ignored. If the functionality is ever desired, this can be revisited at
that time.

See for more on these
arguments for GNU ld.

Diff Detail

Event Timeline

bwerl created this revision.Nov 29 2022, 11:06 AM
bwerl requested review of this revision.Nov 29 2022, 11:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 29 2022, 11:06 AM
bwerl added inline comments.Nov 29 2022, 11:13 AM

Whoops, this should have been FF, same as down below. New patch coming shortly.

bwerl updated this revision to Diff 478655.Nov 29 2022, 11:14 AM