[libcxx-commits] [libcxxabi] [llvm] [llvm] annotate interfaces in Demangle for DLL export (PR #147564)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 25 02:37:18 PDT 2025


mstorsjo wrote:

This change broke compiling for mingw with dylibs enabled (with clang), end up with compile errors like this:
https://github.com/mstorsjo/llvm-mingw/actions/runs/16511385278/job/46693919951
```
D:/a/llvm-mingw/llvm-mingw/llvm-project/llvm/include/llvm/Demangle/Demangle.h:37:1: error: unknown type name 'DEMANGLE_ABI'
   37 | DEMANGLE_ABI char *itaniumDemangle(std::string_view mangled_name,
      | ^
D:/a/llvm-mingw/llvm-mingw/llvm-project/llvm/include/llvm/Demangle/Demangle.h:57:1: error: unknown type name 'DEMANGLE_ABI'
   57 | DEMANGLE_ABI char *microsoftDemangle(std::string_view mangled_name,
      | ^
D:/a/llvm-mingw/llvm-mingw/llvm-project/llvm/include/llvm/Demangle/Demangle.h:61:1: error: unknown type name 'DEMANGLE_ABI'
   61 | DEMANGLE_ABI std::optional<size_t>
      | ^
[...]
```

https://github.com/llvm/llvm-project/pull/147564


More information about the libcxx-commits mailing list