diff options
author | David Spickett <david.spickett@linaro.org> | 2022-07-14 09:36:03 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2022-07-19 09:33:13 +0000 |
commit | 5d1487324947e47a6ef06553ed962485c39387c3 (patch) | |
tree | c0a0a8bcfc78945d38e6f22c27f52d4bf6972680 /llvm/docs/CommandGuide/llvm-dwarfutil.rst | |
parent | e717f91c96b5b046a34a823b44b21268c1c5fee1 (diff) | |
download | llvm-5d1487324947e47a6ef06553ed962485c39387c3.zip llvm-5d1487324947e47a6ef06553ed962485c39387c3.tar.gz llvm-5d1487324947e47a6ef06553ed962485c39387c3.tar.bz2 |
[llvm][AArch64] Add missing FPCR, H and B registers to Codeview mapping
Fixes https://github.com/llvm/llvm-project/issues/56484
H registers are 16 bit views of AArch64's Neon registers and
B are the 8 bit views.
msvc does not support 16 bit float (some mention in DirectX but I
couldn't find a way to get to it) so for lack of a better reference
I'm using:
https://github.com/MicrosoftEdge/JsDbg/blob/85c9b41b33bb8f3496dbe400d912c32bb7cc496b/server/references/dia/include/cvconst.h
(the other microsoft-pdb repo is no longer up to date)
Luckily clang does support fp16 so a test is added for that.
There is no 8 bit float type so I had to get creative with the
test case. We're not testing for correct debug info here just
that we can select the B register and not crash in the process.
For FPCR it's never going to be passed as an argument so I've
not added a test for it. It is included to keep our list looking
the same as the reference.
Reviewed By: majnemer
Differential Revision: https://reviews.llvm.org/D129774
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-dwarfutil.rst')
0 files changed, 0 insertions, 0 deletions