llvm/lld/MachO/Config.h

//===- Config.h -------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLD_MACHO_CONFIG_H
#define LLD_MACHO_CONFIG_H

#include "llvm/ADT/CachedHashString.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/CachePruning.h"
#include "llvm/Support/GlobPattern.h"
#include "llvm/Support/VersionTuple.h"
#include "llvm/TextAPI/Architecture.h"
#include "llvm/TextAPI/Platform.h"
#include "llvm/TextAPI/Target.h"

#include <vector>

namespace llvm {
enum class CodeGenOptLevel;
} // namespace llvm

namespace lld {
namespace macho {

class InputSection;
class Symbol;

NamePair;
SectionRenameMap;
SegmentRenameMap;

struct PlatformInfo {};

inline uint32_t encodeVersion(const llvm::VersionTuple &version) {}

enum class NamespaceKind {};

enum class UndefinedSymbolTreatment {};

enum class ICFLevel {};

enum class ObjCStubsMode {};

struct SectionAlign {};

struct SegmentProtection {};

class SymbolPatterns {};

enum class SymtabPresence {};

struct Configuration {};

extern std::unique_ptr<Configuration> config;

} // namespace macho
} // namespace lld

#endif