Revision adb5dd90a5b8a2c1b76304c810ab1235609e2185 authored by Jordan Rose on 14 January 2016, 00:25:40 UTC, committed by Jordan Rose on 20 January 2016, 01:36:12 UTC
This is the other half of the previous commit: we can use -filelist for
linking on Darwin.

More https://bugs.swift.org/browse/SR-280.
1 parent 1514403
Raw File
Strings.h
//===--- Strings.h - Shared string constants across components --*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

#ifndef SWIFT_STRINGS_H
#define SWIFT_STRINGS_H

namespace swift {
  /// The extension for serialized modules.
  static const char SERIALIZED_MODULE_EXTENSION[] = "swiftmodule";
  /// The extension for serialized documentation comments.
  static const char SERIALIZED_MODULE_DOC_EXTENSION[] = "swiftdoc";
  /// The extension for SIL files.
  static const char SIL_EXTENSION[] = "sil";
  /// The extension for SIB files.
  static const char SIB_EXTENSION[] = "sib";
  /// The extension for LLVM IR files.
  static const char LLVM_BC_EXTENSION[] = "bc";
  static const char LLVM_IR_EXTENSION[] = "ll";
  /// The name of the standard library, which is a reserved module name.
  static const char STDLIB_NAME[] = "Swift";
  /// The name of the SwiftShims module, which contains private stdlib decls.
  static const char SWIFT_SHIMS_NAME[] = "SwiftShims";
  /// The prefix of module names used by LLDB to capture Swift expressions
  static const char LLDB_EXPRESSIONS_MODULE_NAME_PREFIX[] = "__lldb_expr_";

  /// The name of the fake module used to hold imported Objective-C things.
  static const char MANGLING_MODULE_OBJC[] = "__ObjC";
  /// The name of the fake module used to hold imported C things.
  static const char MANGLING_MODULE_C[] = "__C";
} // end namespace swift

#endif
back to top