[LLVMdev] [cfe-dev] Target specific info available to Clang (and others)

Renato Golin renato.golin at linaro.org
Sat Oct 25 11:33:28 PDT 2014


On 25 October 2014 17:38, JF Bastien <jfb at google.com> wrote:
> What David is suggesting is interesting though: what if a target wanted to
> have ARM, x86 and MIPS assembly all assembled in a single executable at the
> end (not PNaCl's usecase)? It seems like you could just create separate .o
> and merge them later, no?

To have any target's assembly/object, you'd have to have its back-end,
so it still would work in a target-specific way. I see no problems
with this.

cheers,
--renato



More information about the llvm-dev mailing list