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

Billy Zhu via flang-commits flang-commits at lists.llvm.org
Mon Apr 8 08:57:06 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
----------------
zyx-billy wrote:

ah you're right 😂 optional works too with 0 default. Changed to that.

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


More information about the flang-commits mailing list