Page MenuHomePhabricator

DWARF: Unify form size handling code
ClosedPublic

Authored by labath on Mar 13 2018, 4:42 AM.

Details

Summary

This patch replaces the two switches which are deducing the size of
various forms with a single implementation. I have put the new
implementation into BinaryFormat, to avoid introducing dependencies
between the two independent libraries (DebugInfo and CodeGen) that need
this functionality.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Mar 13 2018, 4:42 AM
JDevlieghere accepted this revision.Mar 13 2018, 7:34 AM

LGTM. Thanks Pavel!

This revision is now accepted and ready to land.Mar 13 2018, 7:34 AM
This revision was automatically updated to reflect the committed changes.