mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
Added the PDB reading code and also a `SymbolLocator` type that allows us to locate symbols for a given image. rdar://168454023
29 lines
864 B
Swift
29 lines
864 B
Swift
//===--- Module.swift - PDB support for Swift -----------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2025 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Defines a structure used to hold information about a module.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
import Swift
|
|
|
|
struct Module {
|
|
var name: String
|
|
var object: String
|
|
var streamNumber: Int?
|
|
var cbSyms: Int
|
|
var cbLines: Int
|
|
var cbFpo: Int
|
|
var cbC13Lines: Int
|
|
var files: [String] = []
|
|
}
|