OSDN Git Service

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)
commit35abcb5e69a5179697ffa935cda96b36e17704cf
tree35be02b7af89aa2dab4d03cdf6965ba53ba26bb2
parentd09d7393dda2a6afe77b58a3db0bf046f8d2c2b3
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325098 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objdump/MachODump.cpp