September 02, 2014 Re: Building LDC for the first time | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On Tuesday, 2 September 2014 at 00:22:52 UTC, David Nadlinger via digitalmars-d-ldc wrote:
> On 2 Sep 2014, at 2:09, David Nadlinger wrote:
>> SEH support to the MC assembler […]
>>
>> SEH […]
>
> Whoops, I of course meant to write DW(arf) 2 EH, not SEH.
Hi David,
before posting I checked that I could debug a simple application. Seems to work now.
Regards,
Kai
|
September 02, 2014 Re: Building LDC for the first time | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On Tuesday, 2 September 2014 at 00:38:08 UTC, David Nadlinger via digitalmars-d-ldc wrote:
> On 27 Aug 2014, at 19:14, Kai Nacke via digitalmars-d-ldc wrote:
>> You could try the integrated LLVM assembler. I am currently testing this setup.
>>
>> 1. In driver/toobj.cpp, set bool const assembleExternally = false;
>> 2. in std.math, exchange in real poly(...) the inline assembler with the D version (simply replace D_InlineAsm_X86 with none).
>>
>> This is what I am currently testing.
>
> Have the LLVM folks added SEH support to the MC assembler recently? Otherwise, this will not work.
>
> SEH is the sole reason for which I switched the MinGW port to using GAS. The sooner we can get rid of it, the better.
>
> Best,
> David
BTW: With SEH support added we can try to create a MinGW64 build...
Regards,
Kai
|
September 03, 2014 Re: Building LDC for the first time | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | On 2 Sep 2014, at 7:30, Kai Nacke via digitalmars-d-ldc wrote:
> before posting I checked that I could debug a simple application. Seems to work now.
The question is whether exception handling works at all when using the MC asm. Previously, the tables necessary for EH were not correctly emitted.
Best,
David
|
September 03, 2014 Re: Building LDC for the first time | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On Wednesday, 3 September 2014 at 01:12:17 UTC, David Nadlinger via digitalmars-d-ldc wrote:
> On 2 Sep 2014, at 7:30, Kai Nacke via digitalmars-d-ldc wrote:
>> before posting I checked that I could debug a simple application. Seems to work now.
>
> The question is whether exception handling works at all when using the MC asm. Previously, the tables necessary for EH were not correctly emitted.
>
> Best,
> David
13/476 Testing: core.exception:
24/476 Testing: core.sync.exception
157/476 Testing: std.exception
245/476 Testing: core.exception-debug
256/476 Testing: core.sync.exception-debug
389/476 Testing: std.exception-debug
======
All of the above return: Test Passed.
My own application which uses exceptions seem fine to.
Regards,
Daniel N
|
September 04, 2014 Re: Building LDC for the first time | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel N | On Wednesday, 3 September 2014 at 06:27:49 UTC, Daniel N wrote:
> On Wednesday, 3 September 2014 at 01:12:17 UTC, David Nadlinger via digitalmars-d-ldc wrote:
>> On 2 Sep 2014, at 7:30, Kai Nacke via digitalmars-d-ldc wrote:
>>> before posting I checked that I could debug a simple application. Seems to work now.
>>
>> The question is whether exception handling works at all when using the MC asm. Previously, the tables necessary for EH were not correctly emitted.
>>
>> Best,
>> David
>
> 13/476 Testing: core.exception:
> 24/476 Testing: core.sync.exception
> 157/476 Testing: std.exception
> 245/476 Testing: core.exception-debug
> 256/476 Testing: core.sync.exception-debug
> 389/476 Testing: std.exception-debug
> ======
>
> All of the above return: Test Passed.
>
> My own application which uses exceptions seem fine to.
>
> Regards,
> Daniel N
Thanks for checking!
Regards,
Kai
|
Copyright © 1999-2021 by the D Language Foundation