[all-commits] [llvm/llvm-project] 91edbe: [lldb][LoongArch] Fix expression function call fai...
wanglei via All-commits
all-commits at lists.llvm.org
Wed Apr 23 01:15:51 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91edbe223177504cf878340f37a36dfcee349cab
https://github.com/llvm/llvm-project/commit/91edbe223177504cf878340f37a36dfcee349cab
Author: wanglei <wanglei at loongson.cn>
Date: 2025-04-23 (Wed, 23 Apr 2025)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
Log Message:
-----------
[lldb][LoongArch] Fix expression function call failure
After upgrading the default code model from small to medium on
LoongArch, function calls using expression may fail. This is because the
function call instruction has changed from `bl` to `pcalau18i + jirl`,
but `RuntimeDyld` does not handle out-of-range jumps for this
instruction sequence.
This patch fixes: #136561
Reviewed By: SixWeining
Pull Request: https://github.com/llvm/llvm-project/pull/136563
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list