[llvm-commits] [patch] Remove the old ELF writer
Chris Lattner
clattner at apple.com
Wed Dec 28 00:29:12 PST 2011
On Dec 24, 2011, at 3:46 PM, Rafael Ávila de Espíndola wrote:
> 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?
Just MHO, I would really love to see this happen. Does this also remove the JIT EH code?
-Chris
More information about the llvm-commits
mailing list