mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-30 03:28:50 +00:00
Move everything depending on Object/MachOFormat.h over to Support/MachO.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Object/Binary.h"
|
||||
#include "llvm/Object/MachOFormat.h"
|
||||
#include "llvm/Support/MachO.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace object {
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
/// \brief Index of object in the universal binary.
|
||||
uint32_t Index;
|
||||
/// \brief Descriptor of the object.
|
||||
macho::FatArchHeader Header;
|
||||
MachO::fat_arch Header;
|
||||
|
||||
public:
|
||||
ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index);
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
}
|
||||
|
||||
ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); }
|
||||
uint32_t getCPUType() const { return Header.CPUType; }
|
||||
uint32_t getCPUType() const { return Header.cputype; }
|
||||
|
||||
error_code getAsObjectFile(OwningPtr<ObjectFile> &Result) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user