Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

add rt.tracegc #1246

Merged
merged 1 commit into from
May 2, 2015
Merged

add rt.tracegc #1246

merged 1 commit into from
May 2, 2015

Conversation

WalterBright
Copy link
Member

Druntime part of dlang/dmd#4621

It's basically a stub, and will get fleshed out when the idea is accepted (i.e. pulled).

@WalterBright
Copy link
Member Author

Fleshed it out.


import core.stdc.stdio;

version (none)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this in a unittest?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

won't really work as a unittest

@andralex
Copy link
Member

andralex commented May 2, 2015

I think issuing one printf per allocation will be quite onerous for all but the most trivial apps. If you want to make this a turnkey solution (no user-defined code needed), you need to collect things in a hashtable.

@WalterBright
Copy link
Member Author

I'll do the hashtable, this is just a start.

@andralex
Copy link
Member

andralex commented May 2, 2015

k

@andralex
Copy link
Member

andralex commented May 2, 2015

Auto-merge toggled on

andralex added a commit that referenced this pull request May 2, 2015
@andralex andralex merged commit 4014f85 into dlang:master May 2, 2015
@WalterBright WalterBright deleted the tracegc branch May 2, 2015 06:43
@MartinNowak
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants