August 20, 2020
Hi,

I tried this:

```
$ ldmd2 test.d  -profile=gc
Warning: command-line option '-profile=gc' not yet supported by LDC.
```

and wondering how to do Heap profiling using LDC2?

Thanks.

September 01, 2020
On Thursday, 20 August 2020 at 20:29:02 UTC, mw wrote:
> Hi,
>
> I tried this:
>
> ```
> $ ldmd2 test.d  -profile=gc
> Warning: command-line option '-profile=gc' not yet supported by LDC.
> ```
>
> and wondering how to do Heap profiling using LDC2?
>
> Thanks.

You may still use DMD since the heap profile will be very similar (barring some eventual D-specific optimizations).