llvm-project/lldb/source/Plugins
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
..
ABI LLDB now has "Platform" plug-ins. Platform plug-ins are plug-ins that provide 2011-03-08 22:40:15 +00:00
ArchDefaultUnwindPlan/x86 Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
ArchVolatileRegs/x86 Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Disassembler/llvm Add the infrastructure to test instruction emulations automatically. 2011-04-19 23:30:03 +00:00
DynamicLoader Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
Instruction/ARM Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
LanguageRuntime Add support for "dynamic values" for C++ classes. This currently only works for "frame var" and for the 2011-04-16 00:01:13 +00:00
ObjectContainer Modified the ArchSpec to take an optional "Platform *" when setting the triple. 2011-04-07 22:46:35 +00:00
ObjectFile elf: synthesize symbols for PLT entries 2011-03-30 16:07:05 +00:00
Platform Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
Process Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
SymbolFile Fixed a case where if a function, inlined function, or global with a mangled 2011-04-21 21:41:13 +00:00
SymbolVendor/MacOSX LLDB now has "Platform" plug-ins. Platform plug-ins are plug-ins that provide 2011-03-08 22:40:15 +00:00
UnwindAssembly Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
Makefile Add makefile support for the ARM instruction emulation plugin. 2011-04-08 02:01:35 +00:00