This is an archive of the discontinued LLVM Phabricator instance.

[llvm-dlltool] Ignore the --temp-prefix option
ClosedPublic

Authored by mstorsjo on Jun 7 2023, 4:39 AM.

Details

Summary

llvm-dlltool tolerates unknown options as long as they are plain
flags, but if given the parameter value as a separate argument,
e.g. "--temp-prefix foo", it fails to ignore it.

Diff Detail

Event Timeline

mstorsjo created this revision.Jun 7 2023, 4:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 4:39 AM
mstorsjo requested review of this revision.Jun 7 2023, 4:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 4:39 AM
mati865 accepted this revision.Jun 7 2023, 7:28 AM

LGTM

This revision is now accepted and ready to land.Jun 7 2023, 7:28 AM
jeremyd2019 added inline comments.Jun 7 2023, 9:06 AM
llvm/lib/ToolDrivers/llvm-dlltool/Options.td
29

copy/pasteo?

mstorsjo added inline comments.Jun 7 2023, 9:11 AM
llvm/lib/ToolDrivers/llvm-dlltool/Options.td
29

Oops, yes indeed. Thanks for catching it!

This revision was automatically updated to reflect the committed changes.