[PATCH] D94461: [llvm-ifs] Add option to use InterfaceStub library

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 16:16:45 PST 2021


plotfi added a comment.

In D94461#2494667 <https://reviews.llvm.org/D94461#2494667>, @compnerd wrote:

> The full triple is needed in some cases: `armv7-unknown-linux-gnueabi` vs `armv7-unknown-linux-gnueabihf` vs `armv7-unknown-linux-eabihf` vs `armv7-unknown-linux-eabi` are all different.  Additionally, there is nothing that prevents you from doing something like: `armv7-unknown-linux-gnueabihf-coff` or `armv7-unknown-linux-gnueabihf-macho` to generate COFF or MachO object files that are reading in additional bits of ABI information and the libc from the target triple.  I really think that preserving the target triple is best.

I think what @phosek means is, they want to generate an elf to reuse for multiple targets. Assuming you have to use whatever you're given as the name mangling ABI would it be possible to just use some kind of " e_machine and e_ident" triple?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94461/new/

https://reviews.llvm.org/D94461



More information about the llvm-commits mailing list