aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorWeining Lu <luweining@loongson.cn>2023-11-10 13:37:55 +0800
committerWeining Lu <luweining@loongson.cn>2023-11-10 16:14:43 +0800
commite752b58e0d26fc08bca6b2a4e56b05af7f8d8d66 (patch)
tree611dd9d27ad2be4076e91f766d603db97cbf5434 /flang/lib/Frontend/CompilerInvocation.cpp
parent67c3cb4f6b9adc4dffe67a3fff1933193cf52bbc (diff)
downloadllvm-e752b58e0d26fc08bca6b2a4e56b05af7f8d8d66.zip
llvm-e752b58e0d26fc08bca6b2a4e56b05af7f8d8d66.tar.gz
llvm-e752b58e0d26fc08bca6b2a4e56b05af7f8d8d66.tar.bz2
[lld][ELF] Add a corner testcase for elf::getLoongArchPageDelta
If `page(dest) - page(pc)` is 0xfffffffffff000, i.e. page(pc) is next to page(dest), and lo12(dest) > 0x7ff, correct %pc64_lo12 and %pc64_hi12 should be both -1 (which can be checked with binutils) but they are both 0 on lld. This patch adds such a test showing lld's incorrect behaviour and following patch will fix this issue.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions