llvm-project
a1866b86 - [mlir][llvm] Make name optional for DIBasicTypeAttr and DIStringTypeAttr (#185284)

Commit
43 days ago
[mlir][llvm] Make name optional for DIBasicTypeAttr and DIStringTypeAttr (#185284) 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.
Author
Parents
Loading