[LLVMdev] [PATCH] Configurable machine type in ELFObjectWriter

Anton Korobeynikov anton at korobeynikov.info
Fri Oct 22 08:37:11 PDT 2010


Hello Wesley,

> file if they want to add ELF support. I suppose that this is no different
> from editing ADT/Triple.h when you want to add a new ArchType.
> If the second approach is more desirable, then I can rework the patch as
> appropriate.
Well, we already have EM_* stuff, I don't see why one should duplicate it, so
just passing a single uint16_t value looks ok for me. Please commit.

Thanks!

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list