[llvm-dev] Debugging sets and subranges
via llvm-dev
llvm-dev at lists.llvm.org
Fri Aug 3 06:22:35 PDT 2018
Hi Peter,
There are a variety of DWARF types that LLVM doesn't currently support. You've noted a couple from Pascal, sets and subranges as first-class types. Offhand I know that fixed-point types aren't supported; nor any of the modern FORTRAN types like the fancy array-slicing stuff; nor the more COBOL-specific things like numeric strings and condition-names.
The most active developers on debug-info in LLVM are primarily focused on the languages supported by Clang (C/C++, Objective-C/C++) and Swift. People developing out-of-tree front ends who want new DWARF or metadata features are pretty much expected to drive the development of those features. If you do that, and can provide adequate tests (either as IR, or as executable unittests calling the APIs directly--not written in your out-of-tree language), you'll find the reviewers are generally receptive.
Questions on llvm-dev are always appropriate, too, if you run into roadblocks trying to get something to work.
Looking forward to it!
--paulr
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Peter McKinna via llvm-dev
Sent: Thursday, August 02, 2018 8:53 PM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] Debugging sets and subranges
Hi,
Just wondering if there might be support for debugging set types in the future.
There are a few languages that have an inbuilt set type eg pascal and it would be
good to support them. At the moment I'm kludging it with arrays of bits but its less than optimal.
Also, the DISubrange type is restricted to index types for arrays but it would be good
if it could be extended to be a type in its own right to support languages that have
subranges as builtin types.
Regards Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180803/c2cf88b2/attachment.html>
More information about the llvm-dev
mailing list