CompileUnitMetadata
public struct CompileUnitMetadata : DIScope
CompileUnitMetadata
nodes represent a compile unit, the root of a metadata
hierarchy for a translation unit.
Compile unit descriptors provide the root scope for objects declared in a
specific compilation unit. FileMetadata
descriptors are defined using this
scope.
These descriptors are collected by a named metadata node !llvm.dbg.cu
.
They keep track of global variables, type information, and imported entities
(declarations and namespaces).
-
Declaration
Swift
public func asMetadata() -> LLVMMetadataRef
-
Declaration
Swift
public init(llvm: LLVMMetadataRef)