summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleaned up code that was getting SBData for an SBInstruction.Greg Clayton2012-04-111-22/+37
| | | | llvm-svn: 154535
* Improved detection of ARM branch instructions toSean Callanan2012-04-101-6/+4
| | | | | | cover all possible condition codes. llvm-svn: 154440
* Fixed a leak in the LLVM disassembler where weSean Callanan2012-04-061-0/+10
| | | | | | | did not destroy the underlying disassembler in our destructor. llvm-svn: 154185
* Order ivar initializers to how they're declared in the class.Bill Wendling2012-04-061-1/+1
| | | | llvm-svn: 154146
* Resolved two problems in the disassembler:Sean Callanan2012-03-221-5/+7
| | | | | | | | | | | - Addresses with no description were given comments, leading to useless comments like "; , " - Addresses weren't resolved with respect to the correct module. llvm-svn: 153274
* Fixed a bug in the disassembler where we didSean Callanan2012-03-221-29/+38
| | | | | | | not properly print the load addresses for PC-relative jumps. llvm-svn: 153233
* Since we are having issues with the new LLVM MC disassembler, we can haveGreg Clayton2012-03-221-2/+2
| | | | | | | | | | | | | | | | | them both installed with the LLVM MC version being the default. I renamed the name of the LLVM MC disassembler plug-in to "llvm-mc" and the LLVM enhanced disassembly plug-in to "llvm-edis" and they can both be installed for now. To use the "llvm-edis" disassembler, you can just specify it while disassembling: (lldb) disassemble --plugin llvm-edis --name main (lldb) disassemble --plugin llvm-mc --name main This will allow us to compare the output of the two disassembler and eventually deprecate the old one when the new one is ready. But it does use the new disassembler by default so we continue to test it on a daily basis. llvm-svn: 153231
* Added a function to the disassembler that checksSean Callanan2012-03-021-2/+92
| | | | | | | | (from the mnemonic) whether an instruction is a branch. This function's result is exposed through DoesBranch(). llvm-svn: 151953
* Updated LLVM to take some fixes that make theSean Callanan2012-02-231-19/+7
| | | | | | | | | | | Intel disassembler usable. Also flipped the switch: we are now exclusively using Disassembler.h instead of EnhancedDisassembly.h for all disassembly in LLDB. llvm-svn: 151306
* Fix compile error for DisassemblerLLVMC.cpp.Johnny Chen2012-02-201-1/+2
| | | | | | | | Patch by Dmitry Vyukov <dvyukov@google.com>. Also add the relevant files to the Xcode project. llvm-svn: 150991
* Added a new disassembler plugin, DisassemblerLLVMC,Sean Callanan2012-02-171-0/+580
which uses the Disassembler.h interface to the LLVM disassemblers rather than the EnhancedDisassembly.h interface. Disassembler.h is a better-maintained API and will be stabler in the long term. Currently the output from Disassembler.h does not provide for symbolic disassembly in all the places that the old disassembler did, so I have gated (and disabled) the disassembler. It'll be easy to flip the switch later. In the meantime, to enable the new disassembler, uncomment "#define USE_NEW_DISASSEMBLER" in lldb.cpp. llvm-svn: 150772
OpenPOWER on IntegriCloud