Skip to content

Commit 9b5da09

Browse files
author
anoopkg6
committed
Corrected Stub size
1 parent 4f46316 commit 9b5da09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/ExecutionEngine/JITLink/systemz.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ inline ArrayRef<char> getGOTEntryBlockContent(LinkGraph &G) {
761761
/// pointer:
762762
/// lgrl %r1, ptr
763763
/// j %r1
764-
constexpr size_t StubEntrySize = 14;
764+
constexpr size_t StubEntrySize = 8;
765765
extern const char Pointer64JumpStubContent[StubEntrySize];
766766
inline ArrayRef<char> getStubBlockContent(LinkGraph &G) {
767767
auto StubContent = Pointer64JumpStubContent;

llvm/lib/ExecutionEngine/JITLink/systemz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace systemz {
2121
const char NullPointerContent[8] = {0x00, 0x00, 0x00, 0x00,
2222
0x00, 0x00, 0x00, 0x00};
2323

24-
const char Pointer64JumpStubContent[14] = {
24+
const char Pointer64JumpStubContent[8] = {
2525
static_cast<char>(0xC4u),
2626
0x18,
2727
0x00,

0 commit comments

Comments
 (0)