reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Object/MachOUniversal.cpp
  149     uint64_t bigSize = A.getOffset();
  150     bigSize += A.getSize();
  153         Twine(A.getCPUType()) + ") cpusubtype (" +
  154         Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) +
  159     if (A.getAlign() > MaxSectionAlignment) {
  160       Err = malformedError("align (2^" + Twine(A.getAlign()) +
  161                            ") too large for cputype (" + Twine(A.getCPUType()) +
  163                            Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) +
  167     if(A.getOffset() % (1ull << A.getAlign()) != 0){
  167     if(A.getOffset() % (1ull << A.getAlign()) != 0){
  168       Err = malformedError("offset: " + Twine(A.getOffset()) +
  169         " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" +
  170         Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) +
  171         ") not aligned on it's alignment (2^" + Twine(A.getAlign()) + ")");
  174     if (A.getOffset() < MinSize) {
  175       Err =  malformedError("cputype (" + Twine(A.getCPUType()) + ") "
  176         "cpusubtype (" + Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) +
  177         ") offset " + Twine(A.getOffset()) + " overlaps universal headers");