afonso360 opened issue #3030:
Feature
Currently we do not perform any tests on the relocations that the backends emit. While implementing #3026 I struggled with getting the correct output partially because I did not have a good way to check what was being emitted.
Benefit
Testing relocations is obviously desirable to prevent regressions and to ensure we get the correct output.
Implementation
@cfallin has suggested two approaches:
- We perform an end-to-end test with a relocation and execute that on a target platform.
- Print the relocations in the VCode output and compare them against a golden output in the compile filetests
Alternatives
We can keep going as is, but it would be nice if we could test this
akirilov-arm labeled issue #3030:
Feature
Currently we do not perform any tests on the relocations that the backends emit. While implementing #3026 I struggled with getting the correct output partially because I did not have a good way to check what was being emitted.
Benefit
Testing relocations is obviously desirable to prevent regressions and to ensure we get the correct output.
Implementation
@cfallin has suggested two approaches:
- We perform an end-to-end test with a relocation and execute that on a target platform.
- Print the relocations in the VCode output and compare them against a golden output in the compile filetests
Alternatives
We can keep going as is, but it would be nice if we could test this
jameysharp closed issue #3030:
Feature
Currently we do not perform any tests on the relocations that the backends emit. While implementing #3026 I struggled with getting the correct output partially because I did not have a good way to check what was being emitted.
Benefit
Testing relocations is obviously desirable to prevent regressions and to ensure we get the correct output.
Implementation
@cfallin has suggested two approaches:
- We perform an end-to-end test with a relocation and execute that on a target platform.
- Print the relocations in the VCode output and compare them against a golden output in the compile filetests
Alternatives
We can keep going as is, but it would be nice if we could test this
Last updated: Nov 22 2024 at 17:03 UTC