diff options
author | Andrew Rogers <andrurogerz@gmail.com> | 2025-07-29 08:32:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-29 08:32:07 -0700 |
commit | 9bd2aacc68a1c7632abb9410640400dcc09ef50b (patch) | |
tree | e221bc4bc0a9af8b5e0ec702835a35cf2335fd19 /clang/test/Index/single-file-parse-undefined-function-like-macro.c | |
parent | a5db2c28443559f5a19f76f9a91ef3280231a969 (diff) | |
download | llvm-9bd2aacc68a1c7632abb9410640400dcc09ef50b.zip llvm-9bd2aacc68a1c7632abb9410640400dcc09ef50b.tar.gz llvm-9bd2aacc68a1c7632abb9410640400dcc09ef50b.tar.bz2 |
[llvm] annotate recently added interfaces for DLL export (#150101)
## Purpose
This patch is one in a series of code-mods that annotate LLVM’s public
interface for export. This patch annotates symbols that were recently
added to LLVM without proper annotations. The annotations currently have
no meaningful impact on the LLVM build; however, they are a prerequisite
to support an LLVM Windows DLL (shared library) build.
## Background
This effort is tracked in #109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307),
and documentation for `LLVM_ABI` and related annotations is found in the
LLVM repo
[here](https://github.com/llvm/llvm-project/blob/main/llvm/docs/InterfaceExportAnnotations.rst).
## Overview
The bulk of these changes were generated automatically using the
[Interface Definition Scanner (IDS)](https://github.com/compnerd/ids)
tool, followed formatting with `git clang-format`.
The following manual adjustments were also applied after running IDS:
- Add `LLVM_EXPORT_TEMPLATE` and `LLVM_TEMPLATE_ABI` annotations to
explicitly instantiated instances of `llvm::object::SFrameParser`.
## Validation
Local builds and tests to validate cross-platform compatibility. This
included llvm, clang, and lldb on the following configurations:
- Windows with MSVC
- Windows with Clang
- Linux with GCC
- Linux with Clang
- Darwin with Clang
Diffstat (limited to 'clang/test/Index/single-file-parse-undefined-function-like-macro.c')
0 files changed, 0 insertions, 0 deletions