summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/main.c
diff options
context:
space:
mode:
authorPaul Osmialowski <pawel.osmialowski@arm.com>2016-05-13 18:00:09 +0000
committerPaul Osmialowski <pawel.osmialowski@arm.com>2016-05-13 18:00:09 +0000
commit4f5b3be7f1c7b506896540fce862742e699aacd7 (patch)
tree91c322161b0a51a6ff5b574780e5bb558a9058aa /lldb/packages/Python/lldbsuite/test/python_api/frame/main.c
parent2f64c20284002675b1c5b214a629d95077e651ce (diff)
downloadbcm5719-llvm-4f5b3be7f1c7b506896540fce862742e699aacd7.tar.gz
bcm5719-llvm-4f5b3be7f1c7b506896540fce862742e699aacd7.zip
add support for -print-imm-hex for AArch64
Most immediates are printed in Aarch64InstPrinter using 'formatImm' macro, but not all of them. Implementation contains following rules: - floating point immediates are always printed as decimal - signed integer immediates are printed depends on flag settings (for negative values 'formatImm' macro prints the value as i.e -0x01 which may be convenient when imm is an address or offset) - logical immediates are always printed as hex - the 64-bit immediate for advSIMD, encoded in "a:b:c:d:e:f:g:h" is always printed as hex - the 64-bit immedaite in exception generation instructions like: brk, dcps1, dcps2, dcps3, hlt, hvc, smc, svc is always printed as hex - the rest of immediates is printed depends on availability of -print-imm-hex Signed-off-by: Maciej Gabka <maciej.gabka@arm.com> Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com> Differential Revision: http://reviews.llvm.org/D16929 llvm-svn: 269446
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud