#ifndef LLD_MACHO_OUTPUT_SEGMENT_H
#define LLD_MACHO_OUTPUT_SEGMENT_H
#include "OutputSection.h"
#include "Symbols.h"
#include "lld/Common/LLVM.h"
#include "llvm/ADT/TinyPtrVector.h"
#include <limits>
#include <vector>
namespace lld::macho {
namespace segment_names {
constexpr const char dataConst[] = …;
constexpr const char dataDirty[] = …;
constexpr const char data[] = …;
constexpr const char dwarf[] = …;
constexpr const char import[] = …;
constexpr const char ld[] = …;
constexpr const char linkEdit[] = …;
constexpr const char llvm[] = …;
constexpr const char pageZero[] = …;
constexpr const char textExec[] = …;
constexpr const char text[] = …;
}
class OutputSection;
class InputSection;
class OutputSegment { … };
extern std::vector<OutputSegment *> outputSegments;
void sortOutputSegments();
void resetOutputSegments();
OutputSegment *getOrCreateOutputSegment(StringRef name);
}
#endif