[flang-commits] [flang] [mlir] [MLIR][LLVM] Add DebugNameTableKind to DICompileUnit (PR #87974)

Tobias Gysi via flang-commits flang-commits at lists.llvm.org
Mon Apr 8 07:58:49 PDT 2024


================
@@ -350,8 +350,21 @@ def LLVM_DICompileUnitAttr : LLVM_Attr<"DICompileUnit", "di_compile_unit",
     "DIFileAttr":$file,
     OptionalParameter<"StringAttr">:$producer,
     "bool":$isOptimized,
-    "DIEmissionKind":$emissionKind
+    "DIEmissionKind":$emissionKind,
+    DefaultValuedParameter<
+      "DINameTableKind", "DINameTableKind::Default">:$nameTableKind
----------------
gysit wrote:

Anyways making the default explicit is fine!

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


More information about the flang-commits mailing list