diff options
| author | River Riddle <riddleriver@gmail.com> | 2023-03-29 21:21:22 -0700 |
|---|---|---|
| committer | River Riddle <riddleriver@gmail.com> | 2023-03-30 13:25:30 -0700 |
| commit | a3252d1a2c568792974a4bc7413b0c61a43053e9 (patch) | |
| tree | bc35b3a6fa3484aa0b48bcd6f47e1971945593b2 /lldb/source/Symbol/TypeSystem.cpp | |
| parent | a755e80ed1d2fe439d7c8c0fa38c399e398aa4f0 (diff) | |
[lldb][NFC] Move various constructor definitions from .h to .cpp
I ran into issues with linking downstream language plugin to liblldb in
debug builds, hitting link time errors of form:
```
undefined reference to `vtable for lldb_private::<Insert LLDB class here>'
```
Anchoring the vtable to the .cpp files resolved those issues.
Differential Revision: https://reviews.llvm.org/D147252
Diffstat (limited to 'lldb/source/Symbol/TypeSystem.cpp')
| -rw-r--r-- | lldb/source/Symbol/TypeSystem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Symbol/TypeSystem.cpp b/lldb/source/Symbol/TypeSystem.cpp index 4eae2c98b12e..9647102e96c6 100644 --- a/lldb/source/Symbol/TypeSystem.cpp +++ b/lldb/source/Symbol/TypeSystem.cpp @@ -36,6 +36,7 @@ size_t LanguageSet::Size() const { return bitvector.count(); } bool LanguageSet::Empty() const { return bitvector.none(); } bool LanguageSet::operator[](unsigned i) const { return bitvector[i]; } +TypeSystem::TypeSystem() = default; TypeSystem::~TypeSystem() = default; static TypeSystemSP CreateInstanceHelper(lldb::LanguageType language, |
