This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Fix parsing of --time-trace-{granularity,file}
ClosedPublic

Authored by int3 on Mar 24 2021, 6:06 PM.

Details

Summary

We needed to use Joined instead of Flag. This wasn't caught
because the relevant test that was copied from LLD-ELF was still
invoking LLD-ELF instead of LLD-MachO...

Diff Detail

Event Timeline

int3 created this revision.Mar 24 2021, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2021, 6:06 PM
Herald added a subscriber: dang. · View Herald Transcript
int3 requested review of this revision.Mar 24 2021, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2021, 6:06 PM
int3 added inline comments.Mar 24 2021, 6:06 PM
lld/MachO/Driver.cpp
1002

LLD-ELF defaults to 500 too

int3 planned changes to this revision.Mar 24 2021, 10:55 PM
int3 updated this revision to Diff 333214.Mar 24 2021, 11:18 PM
int3 retitled this revision from [lld-macho] Parse --time-trace-granularity to [lld-macho] Fix parsing of --time-trace-{granularity,file}.
int3 edited the summary of this revision. (Show Details)

update

This revision is now accepted and ready to land.Mar 26 2021, 12:49 PM
This revision was landed with ongoing or failed builds.Mar 26 2021, 3:14 PM
This revision was automatically updated to reflect the committed changes.