[cfe-dev] [LLVMdev] [PATCH] triples for baremetal

David Chisnall David.Chisnall at cl.cam.ac.uk
Mon Jun 23 07:31:55 PDT 2014

On 23 Jun 2014, at 15:13, Renato Golin <renato.golin at linaro.org> wrote:

> The main issue with your patch is that it can change user expected
> behaviour, and I can't tell you what is the expected behaviour in
> Darwin or BSD. If people usually use "unknown" in triples, this will
> break their builds. If not, this could break the build of someone who
> does.

I think (Hat: FreeBSD) we only expect to see unknown in the vendor field (e.g. i386-unknown-freebsd).  If the OS field is unknown, rather than freebsd, then it's not one of ours and we aren't likely to care.  I don't really like the way that we conflate OS with ABI, but then I don't really like anything about triples...


More information about the cfe-commits mailing list