[PATCH] [lld][PECOFF] Don't add RVAs to base relocations table

Rui Ueyama ruiu at google.com
Fri Sep 6 14:22:20 PDT 2013


  That's on my TODO list for a while to extend llvm-objdump to dump reloc section contents as GNU binutil's objdump does, so that we can write test for this code. Can you add a TODO here?

  In the meantime, we should write the atom name and its location to llvm::dbgs() from the linker, in order for the test code to verify that the contents is correct. We can wrap the code with DEBUG(), so the reloc contents will not usually be printed out unless we let the linker do so. See tools/lld/test/pecoff/entry.test for example.

http://llvm-reviews.chandlerc.com/D1624



More information about the llvm-commits mailing list