tyan0 wrote:

> I mean many parts of `check-cxx` crash. `cygc++-1.dll` indeed exports `_Znwm`.

I see. _Znwm etc. are mangled name for `new` and `delete`.
```
_Znwm: operator new
_Znam: operator new[]
_ZdlPv: operator delete
_ZdaPv: operator delete[]
_ZnwmRKSt9nothrow_t: operator new(std::nothrow)
_ZnamRKSt9nothrow_t: operator new[](std::nothrow)
_ZdlPvRKSt9nothrow_t: operator delete (for new(nothrow))
_ZdaPvRKSt9nothrow_t: operator delete[] (for new[](nothrow))
```
Therefore, `liststdc++.a` and `libc++.a` have these symbols.

So, what is the meaning of linking these symbols explicitly?

https://github.com/llvm/llvm-project/pull/147960
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to