David Chisnall

Results 409 comments of David Chisnall

I don't have any objections to supporting static linking, but without CI it's probably going to end up broken. If you can send a pull request that enables a statically...

It's odd for libdispatch to provide it, since I libdispatch doesn't (didn't?) include a blocks runtime. We did before there was another open source one and compiler-rt also provides one...

I haven't looked at the Swift one but the LLVM one did not include the right hooks for Objective-C interop with anything other than the Apple runtime. This won't matter...

I haven't tried using the Swift blocks runtime. It might be possible - I don't know what hooks they provide for blocks support. I'm not particularly attached to keeping a...

The crash that you're seeing is from your malloc detecting some corruption of its internal state, which typically means a use-after-free somewhere. Can you try with valgrind or ASan and...

Thanks. Does the non-legacy version of the test also have valgrind failures? I'd like to drop support for the old (GCC-compatible) ABI at some point soon but I'm a bit...

If you're compiling everything with `-fobjc-runtime=gnustep-2.0` (please do!) then it should be fine, but I'm slightly concerned that the bug is present with both ABIs but just happens to trigger...

I'm not sure. The simplest thing to do is include the header file that defines `SmallObjectClasses` and compile a trivial C function that reads it and pass `-S` to clang....

I'd hope that the EH code would continue to work, though there might be some small changes to the unwind structure. It looks as if Windows uses the AAPCS on...

Shouldn't. I can't remember if clang will unconditionally generate objc_msgSend for Windows or if it's only on x86, it might need an extra check added in CGObjCGNU.cpp to prevent it...