[LLVMdev] Anyone notice the duplication of ELF Relocation enums in two different places?

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 22 13:34:20 PST 2010


> The first one should probably be removed. It is included from
>
> JITDebugRegisterer.cpp
> ELFCodeEmitter.cpp
> ELFWriter.cpp
>
> We might be able to remove the last two files today. Any missing
> information in the first can probably be inlined while the MCJIT is
> implemented. I will take a look at what is using this.

The jit debug info works by writing an elf file to memory :-( While it should
be possible to change it to use MC, it is probably not a good idea as the
old JIT is going away.

If you really want to rename one of the files, rename the one in CodeGen.

Cheers,
Rafael



More information about the llvm-dev mailing list