[llvm-dev] How to get CLang array alloca alignments to be smaller than 16 bytes?

Joan Lluch via llvm-dev llvm-dev at lists.llvm.org
Sun May 5 14:24:37 PDT 2019


To be honest, I don’t either know what really happens under the hood when CMake creates the xCode project for CLang+LLVM. But there’s something really explicit going on there, because the project as it’s shown in xCode does not have the same file grouping structure than the actual physical folders. Not only the project file grouping doesn't match the physical folder locations, but the group naming is different and generally more convenient and organised than the actual folder structure. What does all that, I have no idea, but cmake creates it all by just selecting xCode as the cmake “generator”.

John

> On 5 May 2019, at 22:58, Tim Northover <t.p.northover at gmail.com> wrote:
> 
> On Sun, 5 May 2019 at 21:49, Joan Lluch <joan.lluch at icloud.com> wrote:
>> However, I now have found that for some reason the .h files in the lib/Basic/Targets directory were not included as part of the Xcode project.
> 
> Ah. At least we now have a common view on the source, and hopefully
> you can see what needs doing (even if Xcode won't reflect reality
> properly for whatever reason).
> 
>> I assume this is a bug on one of the cmake install files.
> 
> As far as I'm aware LLVM has little to no Xcode magic in its CMake
> files. So the bug would be in either CMake (supplying inadequate
> dependencies?) or Xcode (misinterpreting CMake output?).
> 
> I'm afraid I don't really know enough about either to say which is
> responsible. It could even be LLVM, though from what I *have* seen of
> CMake, I'd be surprised if we needed to declare headers.
> 
> Cheers.
> 
> Tim.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190505/ff5fb498/attachment.html>


More information about the llvm-dev mailing list