[PATCH] D17694: Enhancing MCStreamer to support referential (rather than copy) emission of bytes and use that to reduce the memory footprint of llvm-dwp

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 07:23:38 PDT 2016


David and I discussed a bit on IRC, but looks like it never got logged. Sorry.

So, from the discussion:

* dwp is not really a linker (no relocations if I remember correctly)
* dwp is not really an assembler (no relaxations)

So it seems that what needs to happen is that instead of dwp using MC,
lib/MC/ELFObjectWriter.cpp should be refactored into a small library
that bot MC and dwp can use.

Cheers,
Rafael


More information about the llvm-commits mailing list