This is an archive of the discontinued LLVM Phabricator instance.

[DWARFYAML] Replace 'Format', 'Version', etc with 'FormParams'. NFC.
ClosedPublic

Authored by Higuoxing on Jul 24 2020, 12:44 AM.

Details

Summary

This patch replaces 'Format', 'Version' fields, etc with 'FormParams' to
simplify codes.

Diff Detail

Event Timeline

Higuoxing created this revision.Jul 24 2020, 12:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2020, 12:44 AM
labath accepted this revision.Jul 24 2020, 1:24 AM
labath added inline comments.
llvm/lib/ObjectYAML/DWARFEmitter.cpp
346–348

I guess this would be Unit.FormParams.getDwarfOffsetByteSize()

This revision is now accepted and ready to land.Jul 24 2020, 1:24 AM
Higuoxing updated this revision to Diff 280367.Jul 24 2020, 1:52 AM
Higuoxing marked an inline comment as done.

Address comments.

Thanks for reviewing!

This revision was automatically updated to reflect the committed changes.