[all-commits] [llvm/llvm-project] c9c467: AMDGPU/llvm-readobj: Add missing tests for note pa...
Konstantin Zhuravlyov via All-commits
all-commits at lists.llvm.org
Fri Apr 30 08:19:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9c4676a458b1ef99ffb67b43cfd87d6c27a448c
https://github.com/llvm/llvm-project/commit/c9c4676a458b1ef99ffb67b43cfd87d6c27a448c
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)
Changed paths:
M llvm/lib/ObjectYAML/ELFYAML.cpp
A llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v2.test
A llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v3.test
A llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test
A llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
AMDGPU/llvm-readobj: Add missing tests for note parsing/displaying
This is a follow up review/change for https://reviews.llvm.org/D95638
Add valid note tests for code object v2 notes:
- NT_AMD_HSA_CODE_OBJECT_VERSION (required yaml2obj update)
- NT_AMD_HSA_HSAIL (required yaml2obj update)
- NT_AMD_HSA_ISA_VERSION (required yaml2obj update)
- NT_AMD_HSA_METADATA
- NT_AMD_HSA_ISA_NAME
- NT_AMD_PAL_METADATA
Add valid note tests for code object v3 notes:
- NT_AMDGPU_METADATA
Add invalid note tests for code object v2 notes:
- NT_AMD_HSA_CODE_OBJECT_VERSION (required yaml2obj update)
- NT_AMD_HSA_HSAIL (required yaml2obj update)
- NT_AMD_HSA_ISA_VERSION (required yaml2obj update)
Add invalid note tests for code object v3 notes:
- NT_AMDGPU_METADATA
Differential Revision: https://reviews.llvm.org/D101304
More information about the All-commits
mailing list