[all-commits] [llvm/llvm-project] e6aa67: [mlir][llvm] Make name optional for DIBasicTypeAtt...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Sun Mar 8 06:33:37 PDT 2026
Branch: refs/heads/users/gysit/make-di-type-name-optional
Home: https://github.com/llvm/llvm-project
Commit: e6aa67471cacea4d45cf5a9ce3702b7220d692b1
https://github.com/llvm/llvm-project/commit/e6aa67471cacea4d45cf5a9ce3702b7220d692b1
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2026-03-08 (Sun, 08 Mar 2026)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[mlir][llvm] Make name optional for DIBasicTypeAttr and DIStringTypeAttr
The name field of DICompositeTypeAttr was already optional, but
DIBasicTypeAttr and DIStringTypeAttr were not handled consistently.
Make the name parameter of both an OptionalParameter to support LLVM
debug info nodes with no name. Update DebugImporter to use
getStringAttrOrNull when translating the name of these types. Add
tests for the null-name cases in the import and export test files.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list