[PATCH] D71060: [LLD][ELF] Add time-trace to ELF LLD (2/2)

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 18:20:35 PST 2019


ruiu added a comment.

In D71060#1779463 <https://reviews.llvm.org/D71060#1779463>, @russell.gallop wrote:

> Here are some examples of the output from LLD. One for a llvm-tblgen ThinLTO link (-time-trace-granularity=50000) and a clang Release build (-time-trace-granularity=500). The clang link has some significant gaps in it. I'll see if I can identify where they're from and trace them.
>
> F11023135: llvm-tblgen.png <https://reviews.llvm.org/F11023135>
>
> F11023134: llvm-tblgen.json <https://reviews.llvm.org/F11023134>
>
> F11023133: clang-10.png <https://reviews.llvm.org/F11023133>
>
> F11023132: clang-10.json <https://reviews.llvm.org/F11023132>


These JSON outputs look nice! One feature request -- is there any way to add a key-value to an output JSON file? I mean if we can add something like "argv": ["ld.lld", "-o", ...] to the JSON output it would be great. (You don't need to do that in this patch though.)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71060/new/

https://reviews.llvm.org/D71060





More information about the llvm-commits mailing list