Ron Lieberman
ca856fff1c
Revert "enable code-object-version=5"
...
very sorry wrong repo.
This reverts commit d882ba7aeac4b496dccd1b10cb58bd691786b691.
2022-11-29 15:21:09 -06:00
Ron Lieberman
d882ba7aea
enable code-object-version=5
2022-11-29 15:11:57 -06:00
Konstantin Zhuravlyov
f4ace63737
AMDGPU: Add target id and code object v4 support
...
- Add target id support (https://clang.llvm.org/docs/ClangOffloadBundler.html#target-id )
- Add code object v4 support (https://llvm.org/docs/AMDGPUUsage.html#elf-code-object )
- Add kernarg_size to kernel descriptor
- Change trap handler ABI to no longer move queue pointer into s[0:1]
- Cleanup ELF definitions
- Add V2, V3, V4 suffixes to make a clear distinction for code object version
- Consolidate note names
Differential Revision: https://reviews.llvm.org/D95638
2021-03-24 11:54:05 -04:00
Fangrui Song
e29e30b139
[llvm-readobj] Change -long-option to --long-option in tests. NFC
...
We use both -long-option and --long-option in tests. Switch to --long-option for consistency.
In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf.
While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf).
llvm-svn: 359649
2019-05-01 05:27:20 +00:00
Konstantin Zhuravlyov
1e126c503b
AMDGPU: Set ABI version to 1 for code object v3
...
Differential Revision: https://reviews.llvm.org/D57811
llvm-svn: 354085
2019-02-14 23:56:04 +00:00
Konstantin Zhuravlyov
9122a63143
AMDGPU: Bring elf flags in sync with the spec
...
- Add MACH flags
- Add XNACK flag
- Add reserved flags
- Minor cleanups in docs
Differential Revision: https://reviews.llvm.org/D43356
llvm-svn: 325399
2018-02-16 22:33:59 +00:00