[PATCH] D67388: Add a feature to dump dependency graph.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 02:06:41 PDT 2019
MaskRay added a comment.
I think this feature will be very useful. If section-level dependency information (--gc-sections, --icf=) is required, we may need some variations of the triple representation (`(<from input section>, <symbol>, <to input section>)`) proposed in https://lists.llvm.org/pipermail/llvm-dev/2019-February/130565.html
================
Comment at: lld/ELF/Driver.cpp:266
files.push_back(createObjectFile(mbref));
+ files.back()->onCommandLine = true;
break;
----------------
Should `onCommandLine` be set for a LazyObjFile?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67388/new/
https://reviews.llvm.org/D67388
More information about the llvm-commits
mailing list