[PATCH] D44336: Implement --cref.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 16:26:54 PST 2018


ruiu created this revision.
ruiu added reviewers: espindola, echristo, grimar.
Herald added subscribers: arichardson, emaste.

This is an option to print out a table of symbols and filenames.
The output format of this option is the same as GNU, so that it can be
processed by the same scripts as before after migrating from GNU to lld.

This option is mildly useful; we can live without it. But it is pretty
convenient sometimes, and it can be implemented in 50 lines of code, so
I think lld should support this option.


https://reviews.llvm.org/D44336

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/MapFile.cpp
  lld/ELF/MapFile.h
  lld/ELF/Options.td
  lld/ELF/Writer.cpp
  lld/test/ELF/cref.s
  lld/test/ELF/silent-ignore.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44336.137870.patch
Type: text/x-patch
Size: 5728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180310/35da33b1/attachment.bin>


More information about the llvm-commits mailing list