diff options
author | Charles Davis <cdavis5x@gmail.com> | 2013-09-01 04:28:48 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2013-09-01 04:28:48 +0000 |
commit | 5510728d28bb1ee04abc32da3d21b7df12948053 (patch) | |
tree | 941e20f6aa2623667a2a7d2482f82e74e26fa261 /include/llvm/Object/MachOUniversal.h | |
parent | b83c66eb5e1efb8a1b2b204fc67fe7d11e938248 (diff) | |
download | llvm-5510728d28bb1ee04abc32da3d21b7df12948053.tar.gz llvm-5510728d28bb1ee04abc32da3d21b7df12948053.tar.bz2 llvm-5510728d28bb1ee04abc32da3d21b7df12948053.tar.xz |
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
Diffstat (limited to 'include/llvm/Object/MachOUniversal.h')
-rw-r--r-- | include/llvm/Object/MachOUniversal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Object/MachOUniversal.h b/include/llvm/Object/MachOUniversal.h index 57432826b8..c5d1359256 100644 --- a/include/llvm/Object/MachOUniversal.h +++ b/include/llvm/Object/MachOUniversal.h @@ -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; }; |