clang 23.0.0git
SSAFForceLinker.h
Go to the documentation of this file.
1//===- SSAFForceLinker.h ----------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// This file pulls in all built-in SSAF extractor and format registrations
11/// by referencing their anchor symbols, preventing the static linker from
12/// discarding the containing object files.
13///
14/// Include this header (with IWYU pragma: keep) in any translation unit that
15/// must guarantee these registrations are active — typically the entry point
16/// of a binary that uses clangScalableStaticAnalysisFrameworkCore.
17///
18//===----------------------------------------------------------------------===//
19
20#ifndef LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_SSAFFORCELINKER_H
21#define LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_SSAFFORCELINKER_H
22
23#include "SSAFBuiltinForceLinker.h" // IWYU pragma: keep
24
25#endif // LLVM_CLANG_SCALABLESTATICANALYSISFRAMEWORK_SSAFFORCELINKER_H
This file pulls in all built-in SSAF extractor and format registrations by referencing their anchor s...