diff options
author | Greg Clayton <gclayton@apple.com> | 2011-03-24 23:53:38 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-03-24 23:53:38 +0000 |
commit | 0ae962735fe3f58cd36bface32a4268bc7493178 (patch) | |
tree | e4369896bb5496e4b570939282f52aed4c9a349e /lldb/source/Core/Opcode.cpp | |
parent | ceef55466ad0b1f647a7e49c5b3512de50925500 (diff) | |
download | bcm5719-llvm-0ae962735fe3f58cd36bface32a4268bc7493178.tar.gz bcm5719-llvm-0ae962735fe3f58cd36bface32a4268bc7493178.zip |
Made the lldb_private::Opcode struct into a real boy... I mean class.
Modified the Disassembler::Instruction base class to contain an Opcode
instance so that we can know the bytes for an instruction without needing
to keep the data around.
Modified the DisassemblerLLVM's instruction class to correctly extract the
opcode bytes if all goes well.
llvm-svn: 128248
Diffstat (limited to 'lldb/source/Core/Opcode.cpp')
-rw-r--r-- | lldb/source/Core/Opcode.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lldb/source/Core/Opcode.cpp b/lldb/source/Core/Opcode.cpp new file mode 100644 index 00000000000..cb0b4d038b6 --- /dev/null +++ b/lldb/source/Core/Opcode.cpp @@ -0,0 +1,18 @@ +//===-- Baton.cpp -----------------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "lldb/Core/Opcode.h" + +// C Includes +// C++ Includes +// Other libraries and framework includes +// Project includes + +using namespace lldb; +using namespace lldb_private;
\ No newline at end of file |