[PATCH] D68875: [lld] Check for branch range overflows.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 18:23:23 PDT 2019
MaskRay added inline comments.
================
Comment at: lld/test/ELF/hexagon-verify.s:5
+
+#CHECK: relocation R_HEX_B9_PCREL out of range: 1028 is not in [-1024, 1023]
+#CHECK-NEXT: relocation R_HEX_B13_PCREL out of range: 16388 is not in [-16384, 16383]
----------------
`#CHECK` -> `# CHECK`
If such branch relocation types have a categorical name, e.g. jump, consider rename this test to something like `hexagon-jump-error.s`
```
x86-64-reloc-error.s
aarch64-lo21-error.s # the name is good
```
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68875/new/
https://reviews.llvm.org/D68875
More information about the llvm-commits
mailing list