clang 23.0.0git
clang::ssaf::StaticLibrary Class Reference

Represents a static library of translation unit summary encodings. More...

#include "clang/ScalableStaticAnalysis/Core/EntityLinker/StaticLibrary.h"

Public Member Functions

 StaticLibrary (llvm::Triple TargetTriple, BuildNamespace Namespace)

Friends

class SerializationFormat
class TestFixture

Detailed Description

Represents a static library of translation unit summary encodings.

A StaticLibrary bundles member translation units without performing entity resolution, mirroring the role of ar / libtool -static / lib.exe in native build pipelines. It is consumed by the EntityLinker for selective inclusion when passed as a command line argument.

Static libraries are single-architecture: every member's target triple must equal the library's. Multi-architecture static libraries are expressed as a fat wrapper around per-architecture StaticLibrary instances rather than as a single mixed-architecture library.

Members are stored as encoded TUSummaryEncoding objects: the archiver tool never decodes per-entity payloads, and the linker consumes them as-is during its selective inclusion pass.

Definition at line 41 of file StaticLibrary.h.

Constructor & Destructor Documentation

◆ StaticLibrary()

clang::ssaf::StaticLibrary::StaticLibrary ( llvm::Triple TargetTriple,
BuildNamespace Namespace )
inline

Definition at line 68 of file StaticLibrary.h.

◆ SerializationFormat

friend class SerializationFormat
friend

Definition at line 42 of file StaticLibrary.h.

References SerializationFormat.

Referenced by SerializationFormat.

◆ TestFixture

friend class TestFixture
friend

Definition at line 43 of file StaticLibrary.h.

References TestFixture.

Referenced by TestFixture.


The documentation for this class was generated from the following file: