forked from OSchip/llvm-project
[MachO] pointer align linker generated (non)lazy pointers
llvm-svn: 193551
This commit is contained in:
parent
b6decb0a80
commit
58ea44993b
|
@ -142,6 +142,10 @@ public:
|
|||
return DefinedAtom::typeLazyPointer;
|
||||
}
|
||||
|
||||
virtual Alignment alignment() const {
|
||||
return Alignment(2);
|
||||
}
|
||||
|
||||
virtual uint64_t size() const {
|
||||
return 4;
|
||||
}
|
||||
|
@ -176,6 +180,10 @@ public:
|
|||
return DefinedAtom::typeGOT;
|
||||
}
|
||||
|
||||
virtual Alignment alignment() const {
|
||||
return Alignment(2);
|
||||
}
|
||||
|
||||
virtual uint64_t size() const {
|
||||
return 4;
|
||||
}
|
||||
|
|
|
@ -143,6 +143,10 @@ public:
|
|||
return DefinedAtom::typeLazyPointer;
|
||||
}
|
||||
|
||||
virtual Alignment alignment() const {
|
||||
return Alignment(3);
|
||||
}
|
||||
|
||||
virtual uint64_t size() const {
|
||||
return 8;
|
||||
}
|
||||
|
@ -156,7 +160,6 @@ public:
|
|||
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
return ArrayRef<uint8_t>(bytes, 8);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -178,6 +181,10 @@ public:
|
|||
return DefinedAtom::typeGOT;
|
||||
}
|
||||
|
||||
virtual Alignment alignment() const {
|
||||
return Alignment(3);
|
||||
}
|
||||
|
||||
virtual uint64_t size() const {
|
||||
return 8;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue