Refactor DisassembleInfo in MachODump.cpp
authorSerge Pavlov <sepavloff@gmail.com>
Wed, 14 Feb 2018 03:26:27 +0000 (03:26 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Wed, 14 Feb 2018 03:26:27 +0000 (03:26 +0000)
commite4e9a1f3b9fd1b2f73e2cb12b0528de088fa3c18
tree5848c67e66e4699be844f95da85b7f6903994348
parented2717ad334ca922f135f7a8ed0c81024a4fd55c
Refactor DisassembleInfo in MachODump.cpp

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

Differential Revision: https://reviews.llvm.org/D43003

llvm-svn: 325098
llvm/tools/llvm-objdump/MachODump.cpp