You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Plugin Registration**: Use `LLDB_PLUGIN_DEFINE(FortranLanguage)` macro and register with PluginManager following the pattern from CPlusPlusLanguage and ObjCLanguage.
Given the massive LLVM codebase, we need a minimal build configuration:
130
+
Following LLVM best practices for focused development:
131
131
132
132
```bash
133
-
#Minimal LLDB build for Fortran development
133
+
#Recommended LLDB build for Fortran development
134
134
cmake -S llvm -B build -G Ninja \
135
135
-DLLVM_ENABLE_PROJECTS="clang;lldb;flang" \
136
136
-DLLVM_TARGETS_TO_BUILD="X86" \
137
-
-DCMAKE_BUILD_TYPE=Debug \
137
+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
138
138
-DLLVM_ENABLE_ASSERTIONS=ON \
139
-
-DLLDB_INCLUDE_TESTS=ON
139
+
-DLLDB_INCLUDE_TESTS=ON \
140
+
-DLLVM_INSTALL_UTILS=ON \
141
+
-DLLVM_USE_LINKER=lld
140
142
```
141
143
144
+
**Note**: Using `RelWithDebInfo` provides better performance than `Debug` while maintaining debug symbols. Use `Debug` only when debugging LLDB itself.
0 commit comments