[PATCH] D34668: llvm-nm: Add suport for symbol demangling (-C/--demangle)

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 11:54:23 PDT 2017


Steven Wu <stevenwu at apple.com> writes:

> I can't think about anything that is really going be broken if you drop support for old bitcode file in llvm-nm and llvm-ar. I also like the idea to make them smaller.
>
> The only concern I have is if we drop support in llvm-nm, we lost the simple tool to quickly inspect the symbol take from old bitcode file. That can be disruptive for some workflow because unfortunately I sometimes need to debug old bitcode files. As long as there is a replacement workflow for inspecting symbol table from old bitcode file before we drop support, I can't think about anything against this idea now.

What we can probably do is drop support for parsing asm first. That way
llvm-nm already gets smaller but stays a useful tool for old files.

Cheers,
Rafael


More information about the llvm-commits mailing list