[all-commits] [llvm/llvm-project] b0f0ac: Add overload of DIBuilder::createArrayType (#125229)
Tom Tromey via All-commits
all-commits at lists.llvm.org
Fri Feb 21 12:17:28 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0f0ac3cad2d43deaf88038eb48c93f5a8c936a7
https://github.com/llvm/llvm-project/commit/b0f0ac3cad2d43deaf88038eb48c93f5a8c936a7
Author: Tom Tromey <tromey at adacore.com>
Date: 2025-02-21 (Fri, 21 Feb 2025)
Changed paths:
M llvm/include/llvm/IR/DIBuilder.h
M llvm/lib/IR/DIBuilder.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
Log Message:
-----------
Add overload of DIBuilder::createArrayType (#125229)
DICompositeType has an attribute representing the name of a type, but
currently it isn't possible to set this for array types via the
DIBuilder method. This patch adds a new overload of
DIBuilder::createArrayType that allows "full" construction of an array
type. This is useful for Ada, where arrays are a bit more first-class
than C.
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