DDavid Spickett[lldb][NFC] Fix more license headers
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[lldb][NFC] Put disassembler test classes and methods in anonymous namespace Reviewed By: DavidSpickett, MaskRay Differential Revision: https://reviews.llvm.org/D158971 | 2 年前 | |
[lldb][NFC] Put disassembler test classes and methods in anonymous namespace Reviewed By: DavidSpickett, MaskRay Differential Revision: https://reviews.llvm.org/D158971 | 2 年前 | |
[lldb][NFC] Fix more license headers Extra characters and one with an incorrect file name. | 2 年前 | |
[lldb][NFC] Use MCInstrAnalysis when available in the disassembler plugin Since the info in MCInstrDesc is based on opcodes only, it is often quite inaccurate. The MCInstrAnalysis has been added so that targets can provide accurate info, which is based on registers used by the instruction, through the own versions of MCInstrDesc functions. The RISCVMCInstrAnalysis, which needs to refine several MCInstrDesc methods, is a good example for this. Given the llvm-objdump also uses MCInstrAnalysis, I think this change is in the right direction. The default implementation of MCInstrAnalysis methods forward the query to MCInstrDesc functions. Hence, no functional change is intended/expected. To avoid bloating up MCInstrAnalysis, only the methods provided by it and the ones used by disassembler plugin are changed to use MCInstrAnalysis when available. Though I am not sure if it will be useful, making MCInstrAnalysis available in the disassembler plugin would allow enabling symbolize operands (D84191) feature in lldb's disassembler as well. Reviewed By: jasonmolenda Differential Revision: https://reviews.llvm.org/D156086 | 2 年前 |