[llvm-commits] [patch] Remove the old ELF writer

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Sat Dec 24 15:46:00 PST 2011


Currently we have two ELF writers in LLVM. One is based on MC and is
used for direct object emission and MCJIT. The old one is only used to
provide debug info for the old JIT.

With MCJIT for ELF coming along, I would like to propose removing the
old ELF writer. It is a fairly large chunk of code, and it blocks some
cleanup in the debug generation that has to work with both it and MC.

The downside is that the old JIT will no longer produce debug info.

The attached patch deletes just the ELF writer and direct callers. It is
already a fairly big cleanup:

10 files changed, 3 insertions(+), 2223 deletions(-)

Is it OK? Should I propose this on llvmdev?

Cheers,
Rafael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111224/c858eeb1/attachment.ksh>


More information about the llvm-commits mailing list