Nicholas Wilson

Results 297 comments of Nicholas Wilson

Some sleuthing reveals that `-platform_version macos 12.0.0 12.0` is the argument passed to the linker cause this to fail. On Big Sur (OS version 11) `-platform_version macos 11.0.0 12.0` is...

There are still a few usages of `getPointeeType` in the load functions, but I'll leave those for another PR as their usage is quite pervasive.

Hmm, I'm going to leave that `DtoCallableType` to a separate PR, to reduce surface area for unrelated failures and make some progress.

cc @Geod42 This will probably will be implemented upstream too

I'd prefer that this be done upstream and then adapted for LDC as a) DMD will need this too, and b) target.d and the command line processing for target specific...

Theres some LTO stuff that I haven't changed yet, because I assume that you will be doing the linking manually.

> Yeah, we'll link externally. Good. > is that a method from llvm? Yes. https://llvm.org/doxygen/Triple_8h_source.html#l00655 > How does this patch stop the error I was seeing? Ah, I forgot that...

> And what are the proper args to build a PS4 binary? Dunno. You obviously need to supply `-mtriple=x86_64-scei-ps4`. Hopefully that should be all that is needed.

I would suspect the LLVM would do that for you, but that is only a suspicion. Either way it will be the same as for what clang does. If you...

can you post the result of `clang -v` (and `clang -###` if it i different)?