This is an archive of the discontinued LLVM Phabricator instance.

Refactor DisassembleInfo in MachODump.cpp
ClosedPublic

Authored by sepavloff on Feb 6 2018, 9:08 PM.

Details

Summary

The change implements constructor of DisassembleInfo to avoid duplication
of initialization code and gets rid of malloc/free where possible.

Diff Detail

Event Timeline

sepavloff created this revision.Feb 6 2018, 9:08 PM

Any feedback?

enderby accepted this revision.Feb 13 2018, 10:46 AM

Sure, fine rearrangement of the deck chairs. Looks more C++ like.

This revision is now accepted and ready to land.Feb 13 2018, 10:46 AM
This revision was automatically updated to reflect the committed changes.