HA: [PATCH] D13645: [ELF2] - implemented default enterpteter for X86, X86_64, PPC and AArch64

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 07:25:17 PDT 2015


>От: Rui Ueyama [ruiu at google.com]
>Отправлено: 12 октября 2015 г. 17:49
>Кому: George Rimar; rafael.espindola at gmail.com; ruiu at google.com
>Копия: hfinkel at anl.gov; amara.emerson at arm.com; renato.golin at linaro.org; llvm-commits at lists.llvm.org
>Тема: Re: [PATCH] D13645: [ELF2] - implemented default enterpteter for X86, X86_64, PPC and AArch64
>
>ruiu added a comment.
>
>Target does not seems to be the right place to put OS-specific things. It is just architecture-specific (e.g. ELF on x86-64). I'd to write this in Driver.cpp.
>
>
>http://reviews.llvm.org/D13645

Ok, I agree. 
But what is the best way to find out which interpreter to use then ? I dont think we have something like triple to know that.
Or is it just supposed to be hardcoded for different architectures in Driver.cpp for now ?


More information about the llvm-commits mailing list