llvm-project
94657439 - [lldb] Define SB API special members out of line (#241980)

Commit
7 hours ago
[lldb] Define SB API special members out of line (#241980) When liblldb is built with clang-cl and `/Zc:dllexportInlines-`, inline members are not exported from liblldb.dll. A client compiled without the flag then fails to link. This changes the SB API to declare and define out of line copy constructors, copy assignment and destructors, following the guidance in `docs/resources/sbapi.md`: > All the SB API classes are non-virtual, single inheritance classes. > They should only include SBDefines.h or other SB headers as needed. > There should be no inlined method implementations in the header > files, they should all be in the implementation files. And there > should be no direct ivar access. The effort to build LLVM as a dylib is tracked in #109483.
Author
Parents
Loading