zmodem wrote:

(I haven't looked deeply at this, so forgive me if I'm missing details.)

> I think in the reproducer case, if the `operator delete[]` never gets 
> exported, there is no way to delete an array of objects via `delete[]` 
> outside of DLL.

But `operator delete[]` is an inline function, and with `/Zc:DllexportInlines-` 
it's not different from any other inline function: when it's used by a caller, 
clang should emit the definition.

I suspect that we're missing a call to "mark used" (I don't remember what it's 
called exactly) somewhere.

https://github.com/llvm/llvm-project/pull/165598
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to