[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:21
+
+.section _pc13, "ax"
+if (r0==#0) jump:t #pc13
----------------
Consider moving the CHECK lines just before the corresponding instructions.
================
Comment at: lld/test/ELF/hexagon-verify.s:28
+.section _pc15, "ax"
+if (p0) jump #pc15
+.space (1<<16)
----------------
If `jump #b15` works, you can delete the local label `pc15`.
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