This is an archive of the discontinued LLVM Phabricator instance.

[yaml2obj] - Make `Section::Link` field to be `Optional<>`.
ClosedPublic

Authored by grimar on Oct 29 2020, 6:18 AM.

Details

Summary

Link is not an optional field currently.
Because of this it is not convenient to write macros.

This makes it to be optional and fixes corresponding test cases.

Diff Detail

Event Timeline

grimar created this revision.Oct 29 2020, 6:18 AM
Herald added a project: Restricted Project. · View Herald Transcript
grimar requested review of this revision.Oct 29 2020, 6:18 AM
MaskRay accepted this revision.Oct 29 2020, 9:07 AM

LGTM.

This makes it to be optional and fixes corresponding test cases.

This makes it optional...

This revision is now accepted and ready to land.Oct 29 2020, 9:07 AM