HomePhabricator

Implement --cref.

Description

Implement --cref.

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.

Differential Revision: https://reviews.llvm.org/D44336

Details

Committed
ruiuMar 14 2018, 1:29 PM
Differential Revision
D44336: Implement --cref.
Parents
rL327564: [UpdateTestChecks] Handle IR variables with a '-' in the name
Branches
Unknown
Tags
Unknown