[Issue 16547] New: -betterC switch no longer removes druntime symbols
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Sep 26 12:57:12 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16547
Issue ID: 16547
Summary: -betterC switch no longer removes druntime symbols
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: dev at nomad.so
Example program:
import core.stdc.stdio;
extern(C) void main()
{
printf("Hello World!\n");
}
When building an executable and using the -betterC flag using DMD v2.070.0 the
symbols emitted from the above program are thus:
0000000000000000 T _main
U _printf
Starting from DMD v2.071.0 the druntime information is not omitted from the
executable and there are over two thousand symbols inside.
Reference thread:
http://forum.dlang.org/thread/ixgtcyattenjrnqcoonv@forum.dlang.org
--
More information about the Digitalmars-d-bugs
mailing list