Skip to content

[llvm] ensure DEMANGLE_ABI is properly defined #151023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 29, 2025

Conversation

andrurogerz
Copy link
Contributor

Overview

Include llvm-config.h from DemangleConfig.h so LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS is defined correctly. The presence of this definition controls the definition of LLVM_ABI on Windows DLL builds. This include was missed in #147564.

Background

This effort is tracked in #109483. Additional context is provided in this discourse.

@andrurogerz
Copy link
Contributor Author

@compnerd @vgvassilev this one should be quick-- I missed this #include in the demangle patch that was merged last week.

@andrurogerz andrurogerz marked this pull request as ready for review July 29, 2025 00:43
@compnerd compnerd merged commit 7162f19 into llvm:main Jul 29, 2025
11 checks passed
@andrurogerz andrurogerz deleted the llvm-abi-demangle-fix branch July 29, 2025 00:53
SquallATF pushed a commit to SquallATF/llvm-project that referenced this pull request Jul 30, 2025
## Overview
Include `llvm-config.h` from `DemangleConfig.h` so
`LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS` is defined correctly. The presence
of this definition controls the definition of `LLVM_ABI` on Windows DLL
builds. This include was missed in llvm#147564.

## Background
This effort is tracked in llvm#109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307).
andrurogerz added a commit to andrurogerz/llvm-project that referenced this pull request Aug 4, 2025
## Overview
Include `llvm-config.h` from `DemangleConfig.h` so
`LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS` is defined correctly. The presence
of this definition controls the definition of `LLVM_ABI` on Windows DLL
builds. This include was missed in llvm#147564.

## Background
This effort is tracked in llvm#109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307).
andrurogerz added a commit to andrurogerz/llvm-project that referenced this pull request Aug 4, 2025
## Overview
Include `llvm-config.h` from `DemangleConfig.h` so
`LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS` is defined correctly. The presence
of this definition controls the definition of `LLVM_ABI` on Windows DLL
builds. This include was missed in llvm#147564.

## Background
This effort is tracked in llvm#109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307).
andrurogerz added a commit to andrurogerz/llvm-project that referenced this pull request Aug 4, 2025
## Overview
Include `llvm-config.h` from `DemangleConfig.h` so
`LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS` is defined correctly. The presence
of this definition controls the definition of `LLVM_ABI` on Windows DLL
builds. This include was missed in llvm#147564.

## Background
This effort is tracked in llvm#109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307).
andrurogerz added a commit to andrurogerz/llvm-project that referenced this pull request Aug 5, 2025
## Overview
Include `llvm-config.h` from `DemangleConfig.h` so
`LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS` is defined correctly. The presence
of this definition controls the definition of `LLVM_ABI` on Windows DLL
builds. This include was missed in llvm#147564.

## Background
This effort is tracked in llvm#109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307).
SquallATF pushed a commit to SquallATF/llvm-project that referenced this pull request Aug 7, 2025
## Overview
Include `llvm-config.h` from `DemangleConfig.h` so
`LLVM_ENABLE_LLVM_EXPORT_ANNOTATIONS` is defined correctly. The presence
of this definition controls the definition of `LLVM_ABI` on Windows DLL
builds. This include was missed in llvm#147564.

## Background
This effort is tracked in llvm#109483. Additional context is provided in
[this
discourse](https://discourse.llvm.org/t/psa-annotating-llvm-public-interface/85307).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants