assert

Fox linuxl4 at sohu.com
Thu Sep 12 03:44:02 UTC 2024


On Wednesday, 11 September 2024 at 16:40:05 UTC, Bradley Chatha 
wrote:
> On Wednesday, 11 September 2024 at 12:17:02 UTC, Fox wrote:
>> I don't care about whether it's a bug or not,  I just want to 
>> learn What illegal instructions did this "assert(false);" code 
>> create?
>
> Fortunately Godbolt supports D, so it's easy to see that it 
> generates `ud2` on x86(_64): https://godbolt.org/z/4zq67boMW

This is great, thanks.


More information about the Digitalmars-d-learn mailing list