llvm-project/llvm/test/DebugInfo/COFF
David Spickett 5d14873249 [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:
85c9b41b33/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
2022-07-19 09:33:13 +00:00
..
AArch64 [llvm][AArch64] Add missing FPCR, H and B registers to Codeview mapping 2022-07-19 09:33:13 +00:00
ARMNT
anonymous-struct.ll
array-odr-violation.ll
asan-module-ctor.ll
asan-module-without-functions.ll
asm.ll
big-type.ll
bitfields.ll
build-info.ll
class-options-common.ll
comdat.ll
compiler-version-overflow.ll
const-unnamed-member.ll
cpp-mangling.ll
defer-complete-type.ll
dlang.ll
emission-kind-no-debug.ll
empty-globals-subsection.ll
enum-co.ll
enum.ll
fortran-basic.ll
fortran-contained-proc.ll
fp-stack.ll
fpo-argsize.ll
fpo-csrs.ll
fpo-funclet.ll
fpo-realign-alloca.ll
fpo-realign-vframe.ll
fpo-shrink-wrap.ll
fpo-stack-protect.ll
frameproc-flags.ll
function-options.ll
global_visibility.ll
global-constants.ll
global-dllimport.ll
global-no-strings.ll
global-type-hashes.ll
globals-discarded.ll
globals.ll
inheritance.ll
inlining-files.ll
inlining-header.ll
inlining-levels.ll
inlining-padding.ll
inlining-same-name.ll
inlining.ll
int8-char-type.ll
integer-128.ll
lambda.ll
language.ll
lexicalblock.ll
line-zero.ll
lines-bb-start.ll
lines-difile.ll
lit.local.cfg
local-constant.ll
local-variable-gap.ll
local-variables.ll
long-name.ll
long-type-name.ll
multifile.ll
multifunction.ll
nested-types.ll
no-cus.ll
nrvo.ll
numeric-leaves.ll
parameter-order.ll
parent-type-scopes.ll
pgo.ll
pieces.ll
pr28747.ll
pr37492.ll
purge-typedef-udts.ll
register-variables.ll
retained-types.ll
rust.ll
scopes.ll
simple.ll
static-methods.ll
swift.ll
synthetic.ll
tail-call-without-lexical-scopes.ll
thunk.ll
type-quals.ll
typedef.ll
types-array-advanced.ll
types-array-unsized.ll
types-array.ll
types-basic.ll
types-calling-conv.ll
types-cvarargs.ll
types-data-members.ll
types-empty-member-fn.ll
types-integer-old.ll
types-method-ref-qualifiers.ll
types-nested-class.ll
types-non-virtual-methods.ll
types-ptr-to-member.ll
types-recursive-struct.ll
types-recursive-unnamed.ll
types-std-nullptr-t.ll
types-this-not-ptr.ll
udts-complete.ll
udts-fixpoint.ll
udts.ll
unnamed-nested.ll
unnamed.ll
vframe-csr.ll
vframe-fpo.ll
vftables.ll
virtual-method-kinds.ll
virtual-methods.ll
vtable-optzn-array.ll
x87-registers.ll