LDC 1.30.0-beta1

Test123 test123 at gmail.com
Sun May 22 12:58:49 UTC 2022


On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:
> Full release log and downloads: 
> https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1
>
> Please help test, and thanks to all contributors & sponsors!


hi @kinke, thanks again for the great work.

There is a bug with this simple code.

```d
import ldc.attributes : assumeUsed;
@nogc nothrow extern(C):
export int test() @assumeUsed {
         return 0;
}
```


build a windows shared library.

```sh
Export Table:
  DLL name: test.dll
  Ordinal base: 0
  Ordinal      RVA  Name
        0        0
        1   0x13f0  test
```


If I enable lto there is no name for Export Table:
```sh
Export Table:
  DLL name: test.dll
  Ordinal base: 0
  Ordinal      RVA  Name
        0        0
        1   0x2340
```




More information about the Digitalmars-d-announce mailing list