teak-llvm/lldb/source
Greg Clayton 2ed751bd47 Changed the emulate instruction function to take emulate options which
are defined as enumerations. Current bits include:

        eEmulateInstructionOptionAutoAdvancePC
        eEmulateInstructionOptionIgnoreConditions

Modified the EmulateInstruction class to have a few more pure virtuals that
can help clients understand how many instructions the emulator can handle:

        virtual bool
        SupportsEmulatingIntructionsOfType (InstructionType inst_type) = 0;


Where instruction types are defined as:

//------------------------------------------------------------------
/// Instruction types
//------------------------------------------------------------------    
typedef enum InstructionType
{
    eInstructionTypeAny,                // Support for any instructions at all (at least one)
    eInstructionTypePrologueEpilogue,   // All prologue and epilogue instructons that push and pop register values and modify sp/fp
    eInstructionTypePCModifying,        // Any instruction that modifies the program counter/instruction pointer
    eInstructionTypeAll                 // All instructions of any kind

}  InstructionType;


This allows use to tell what an emulator can do and also allows us to request
these abilities when we are finding the plug-in interface.

Added the ability for an EmulateInstruction class to get the register names
for any registers that are part of the emulation. This helps with being able
to dump and log effectively.

The UnwindAssembly class now stores the architecture it was created with in
case it is needed later in the unwinding process.

Added a function that can tell us DWARF register names for ARM that goes
along with the source/Utility/ARM_DWARF_Registers.h file: 

        source/Utility/ARM_DWARF_Registers.c
        
Took some of plug-ins out of the lldb_private namespace.

llvm-svn: 130189
2011-04-26 04:39:08 +00:00
..
API Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Breakpoint Did some work on the "register read" command to only show the first register 2011-04-22 03:55:06 +00:00
Commands Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
Core Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Expression Fix up how the ValueObjects manage their life cycle so that you can hand out a shared 2011-04-22 23:53:53 +00:00
Host Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
Interpreter Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
Plugins Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Symbol Renamed UnwindAssemblyProfiler to UnwindAssembly along with its source files. 2011-04-25 21:14:26 +00:00
Target Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Utility Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
lldb-log.cpp Patch to remove uses of non-standard strcasestr and replace then with 2011-02-04 18:55:41 +00:00
lldb.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Makefile Patch from Jean-Daniel Dupas: 2010-07-12 23:14:00 +00:00