[Issue 22471] New: DWARF: generated main is not marked as DW_AT_artificial
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 3 10:56:55 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22471
Issue ID: 22471
Summary: DWARF: generated main is not marked as
DW_AT_artificial
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: contact at lsferreira.net
According to DWARF standard:
> Any debugging information entry representing the declaration of an object or
> type artificially generated by a compiler and not explicitly declared by the source
> program may have a DW_AT_artificial attribute, which is a flag.
This is the case when `-main` flag is passed to the compiler.
--
More information about the Digitalmars-d-bugs
mailing list