mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add the option, -universal-headers, used with -macho to print the Mach-O universal headers to llvm-objdump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,6 +51,10 @@ public:
|
||||
|
||||
ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); }
|
||||
uint32_t getCPUType() const { return Header.cputype; }
|
||||
uint32_t getCPUSubType() const { return Header.cpusubtype; }
|
||||
uint32_t getOffset() const { return Header.offset; }
|
||||
uint32_t getSize() const { return Header.size; }
|
||||
uint32_t getAlign() const { return Header.align; }
|
||||
std::string getArchTypeName() const {
|
||||
Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype);
|
||||
return T.getArchName();
|
||||
|
Reference in New Issue
Block a user