Details
Details
Diff Detail
Diff Detail
Event Timeline
test/ELF/amdgpu-relocs-abs32.s | ||
---|---|---|
23 ↗ | (On Diff #61701) | Is the full kernel_code_t definition required for this test? |
ELF/Target.cpp | ||
---|---|---|
1462–1464 | Sort alphabetically. |
Comment Actions
Verifying an entire dwarf file to test ABS32 relocations seems a bit overkill. Why don't you add a few lines to test/ELF/amdgpu-relocs.s?
Comment Actions
The fact that ABS32 is generated only for DWARF does not necessarily mean that you need to create a DWARF to verify the behavior of the relocation. I was trying to say was that the test is too big compared to the size of the feature that is testing; it mostly verifies the structure of DWARF rather than the relocation. A test for ABS32 can be written in a few lines.
Sort alphabetically.