majnemer wrote:
Will we generate local vftables for dllimport'd classes too? I think that is
needed as part of properly supporting this feature.
Example input:
```c++
struct __declspec(dllexport) A {
virtual ~A();
};
struct __declspec(dllimport) B {
virtual ~B();
};
void* f() {return new A;}
void* g() {return new B;}
```
MSVC generates:
```
const B::`local vftable' DQ FLAT:const B::`RTTI Complete Object Locator'
; B::`local vftable'
DQ FLAT:virtual void * B::`vector deleting destructor'(unsigned
int)
const A::`vftable' DQ FLAT:const A::`RTTI Complete Object Locator'
; A::`vftable'
DQ FLAT:virtual void * A::`vector deleting destructor'(unsigned
int)
```
https://github.com/llvm/llvm-project/pull/165598
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits