mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This simplifies the handling of the subdirectories in the SIL and SILOptimizer paths. Create individual libraries as object libraries which allows the analysis of the source changes to be limited in scope. Because these are object libraries, this has 0 overhead compared to the previous implementation. However, string operations over the filenames are avoided. The cost for this is that any new sub-library needs to be added into the list rather than added with the special local function.
16 lines
636 B
C++
16 lines
636 B
C++
//===--- SIL.cpp ---------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// DO NOT MODIFY THIS FILE!
|
|
// The SIL library is split into sub-components, modify the respective
|
|
// sub-component.
|