summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVM.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug where the LLVM disassembler wasSean Callanan2010-11-101-1/+1
| | | | | | ignoring the show_address parameter. llvm-svn: 118666
* Revert last checkin to DisassemblerLLVM.cpp; that was some temporaryJason Molenda2010-11-041-5/+0
| | | | | | debug printfs that got left behind by accident. llvm-svn: 118244
* Built the native unwinder with all the warnings c++-4.2 could muster;Jason Molenda2010-11-041-0/+5
| | | | | | | | | fixed them. Added DISALLOW_COPY_AND_ASSIGN to classes that should not be bitwise copied. Added default initializers for member variables that weren't being initialized in the ctor. Fixed a few shadowed local variable mistakes. llvm-svn: 118240
* Added the ability to get the disassembly instructions from the function andGreg Clayton2010-10-061-27/+32
| | | | | | symbol. llvm-svn: 115734
* Moved the section load list up into the target so we can use the targetGreg Clayton2010-09-141-5/+5
| | | | | | to symbolicate things without the need for a valid process subclass. llvm-svn: 113895
* Added extensive logging of the code that is actually goingSean Callanan2010-07-231-9/+13
| | | | | | | | | | | | to be executed by the inferior. This required explicit support from RecordingMemoryManager for finding the address range belonging to a particular function. Also fixed a bug in DisassemblerLLVM where the disassembler assumed there was an AddressRange available even when it was NULL. llvm-svn: 109209
* Merged Eli Friedman's linux build changes where he added Makefile files thatGreg Clayton2010-07-091-2/+1
| | | | | | | enabled LLVM make style building and made this compile LLDB on Mac OS X. We can now iterate on this to make the build work on both linux and macosx. llvm-svn: 108009
* Fixed up disassembly to not emit the module name before all function namesGreg Clayton2010-07-011-2/+2
| | | | | | | | | | | | that are in the disassembly comments since most of them are in the same module (shared library). Fixed a crasher that could happen when disassembling special section data. Added an address dump style that shows the symbol context without the module (used in the disassembly code). llvm-svn: 107366
* Centralized all disassembly into static functions in ↵Greg Clayton2010-06-301-13/+34
| | | | | | | | | | | | | | | | | | | | | | | | source/Core/Disassembler.cpp. Added the ability to read memory from the target's object files when we aren't running, so disassembling works before you run! Cleaned up the API to lldb_private::Target::ReadMemory(). Cleaned up the API to the Disassembler to use actual "lldb_private::Address" objects instead of just an "addr_t". This is nice because the Address objects when resolved carry along their section and module which can get us the object file. This allows Target::ReadMemory to be used when we are not running. Added a new lldb_private::Address dump style: DumpStyleDetailedSymbolContext This will show a full breakdown of what an address points to. To see some sample output, execute a "image lookup --address <addr>". Fixed SymbolContext::DumpStopContext(...) to not require a live process in order to be able to print function and symbol offsets. llvm-svn: 107350
* Fixed a problem where invalid triples were being passedSean Callanan2010-06-161-1/+1
| | | | | | | into the constructor for the LLVMDisassembler, resulting in asserts. llvm-svn: 106160
* Made lldb_private::ArchSpec more generic so that it can take a mach-o cpuGreg Clayton2010-06-111-29/+25
| | | | | | | | | | | | | | | | type and sub-type, or an ELF e_machine value. Also added a generic CPU type to the arch spec class so we can have a single arch definition that the LLDB core code can use. Previously a lot of places in the code were using the mach-o definitions from a macosx header file. Switches over to using "llvm/Support/MachO.h" for the llvm::MachO::XXX for the CPU types and sub types for mach-o ArchSpecs. Added "llvm/Support/ELF.h" so we can use the "llvm::ELF::XXX" defines for the ELF ArchSpecs. Got rid of all CPU_TYPE_ and CPU_SUBTYPE_ defines that were previously being used in LLDB. llvm-svn: 105806
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-081-0/+468
llvm-svn: 105619
OpenPOWER on IntegriCloud