mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Remove last use of InMemoryStruct in llvm-objdump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -75,6 +75,14 @@ MachOObjectFile::getSegmentLoadCommand(LoadCommandInfo LCI) const {
|
||||
return reinterpret_cast<const MachOFormat::SegmentLoadCommand*>(Data.data());
|
||||
}
|
||||
|
||||
const MachOFormat::LinkeditDataLoadCommand *
|
||||
MachOObjectFile::getLinkeditDataLoadCommand(LoadCommandInfo LCI) const {
|
||||
StringRef Data = MachOObj->getData(LCI.Offset,
|
||||
sizeof(MachOFormat::LinkeditDataLoadCommand));
|
||||
return
|
||||
reinterpret_cast<const MachOFormat::LinkeditDataLoadCommand*>(Data.data());
|
||||
}
|
||||
|
||||
const MachOFormat::Segment64LoadCommand *
|
||||
MachOObjectFile::getSegment64LoadCommand(LoadCommandInfo LCI) const {
|
||||
StringRef Data = MachOObj->getData(LCI.Offset,
|
||||
|
Reference in New Issue
Block a user