[Lldb-commits] [lldb] [lldb] Split out lldb version macros into separate header (PR #229610)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 7 14:58:12 PDT 2026


================
@@ -0,0 +1,16 @@
+//===----------------------------------------------------------------------===//
----------------
adrian-prantl wrote:

It looks like the top level isn't covered by  `lldb/include/module.modulemap`. That causes two problems:
- (minor) it's a non-modular header at build time. We currently don't compile with modules anyway so we could ignore that. However, you might want to look into llvm's `module.extern.modulemap` for how to fix that correctly. It's also broken for `SBLanguages.h`
- (major) it's a non-modular header after installation. That means the header is invisible for anything importing the lldb Clang module. You could probably fix this by moving it into a subdirectory that is covered by an umbrella module already.

https://github.com/llvm/llvm-project/pull/229610


More information about the lldb-commits mailing list