[llvm] [DebugInfo][DWARF] Add DWARF/LowLevel to module.modulemap (PR #148693)

Guy David via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 11:13:04 PDT 2025


https://github.com/guy-david created https://github.com/llvm/llvm-project/pull/148693

This ensures the generation of Attributes.inc when using -DLLVM_ENABLE_MODULES=ON.

>From 4973acc9fff92f6c33d399c940a503a07adbf03a Mon Sep 17 00:00:00 2001
From: Guy David <guyda96 at gmail.com>
Date: Mon, 14 Jul 2025 21:06:52 +0300
Subject: [PATCH] [DebugInfo][DWARF] Add to module.modulemap

This ensures the generation of Attributes.inc when using
-DLLVM_ENABLE_MODULES=ON.
---
 llvm/include/module.modulemap | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap
index a4bd6b9ed370d..a4aae08e639e4 100644
--- a/llvm/include/module.modulemap
+++ b/llvm/include/module.modulemap
@@ -125,6 +125,13 @@ module LLVM_DebugInfo_DWARF {
   module * { export * }
 }
 
+module LLVM_DebugInfo_DWARF_LowLevel {
+  requires cplusplus
+
+  umbrella "llvm/DebugInfo/DWARF/LowLevel"
+  module * { export * }
+}
+
 module LLVM_DebugInfo_PDB {
   requires cplusplus
 



More information about the llvm-commits mailing list