diff options
author | Andrew Savonichev <andrew.savonichev@gmail.com> | 2022-04-19 20:01:14 +0300 |
---|---|---|
committer | Andrew Savonichev <andrew.savonichev@gmail.com> | 2022-04-21 16:05:25 +0300 |
commit | 96e7487013776c26f0a5203b2e4b104b61efcedf (patch) | |
tree | 4f3f3349000f4f242881e444f2e2522f6f54b146 /clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp | |
parent | ac213375d9639974a29db99c5a9d145d2397385c (diff) | |
download | llvm-96e7487013776c26f0a5203b2e4b104b61efcedf.zip llvm-96e7487013776c26f0a5203b2e4b104b61efcedf.tar.gz llvm-96e7487013776c26f0a5203b2e4b104b61efcedf.tar.bz2 |
[NVPTX] Fix LIT tests with default nameTableKind
Default nameTableKind results in the following DWARF section:
.section .debug_pubnames
{
.b32 LpubNames_end0-LpubNames_start0 // Length of Public Names Info
LpubNames_start0:
[...]
LpubNames_end0:
}
Without -mattr=+ptx75 ptxas complains about labels and label
expressions:
error : Feature 'labels1 - labels2 expression in .section' requires
PTX ISA .version 7.5 or later
error : Feature 'Defining labels in .section' requires PTX ISA
.version 7.0 or later
The patch modifies dbg-value-const-byref.ll to let it run without PTX
7.5 (available from CUDA 11.0), and adds a new test just for this
case.
Differential revision: https://reviews.llvm.org/D124108
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp')
0 files changed, 0 insertions, 0 deletions