diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2023-07-17 19:33:16 -0500 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2023-07-19 18:01:01 -0500 |
commit | 5fdf8605102014825dc79e1859f218228dbcd15f (patch) | |
tree | d3800cf76b18675300c3d0a817f7ae6093421620 /llvm/lib/Object/ObjectFile.cpp | |
parent | f385abf131e01b12b14ac3bc7214eb119b40523e (diff) | |
download | llvm-5fdf8605102014825dc79e1859f218228dbcd15f.zip llvm-5fdf8605102014825dc79e1859f218228dbcd15f.tar.gz llvm-5fdf8605102014825dc79e1859f218228dbcd15f.tar.bz2 |
[DX] Fix PSV resource serialization
When writing this initially I missed including the resource stride.
This change adds the resources stride to the serialized value.
I've also extended the testing and error reporting around parsing PSV
information. This adds tests to verify that the reader produces
meaningful error messages for malformed DXContainer files, and a test
that verifies the resource stride is respected in the reader even if
the stride isn't an expected or known value (as would happen if the
format changes in the future).
This is part of #59479.
Reviewed By: bogner, bob80905
Differential Revision: https://reviews.llvm.org/D155143
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions