[all-commits] [llvm/llvm-project] 439341: [lld][ELF] Add additional time trace categories

James Henderson via All-commits all-commits at lists.llvm.org
Tue Nov 10 02:29:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 439341b9bf0d9c91d1fc7a896cb85dbbb958f924
      https://github.com/llvm/llvm-project/commit/439341b9bf0d9c91d1fc7a896cb85dbbb958f924
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/DriverUtils.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/LinkerScript.cpp
    M lld/ELF/MapFile.cpp
    M lld/ELF/OutputSections.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [lld][ELF] Add additional time trace categories

I noticed when running a large link with the --time-trace option that
there were several areas which were missing any specific time trace
categories (aside from the generic link/ExecuteLinker categories). This
patch adds new categories to fill most of the "gaps", or to provide more
detail than was previously provided.

Reviewed by: MaskRay, grimar, russell.gallop

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


  Commit: d2f7f775cac5df24bafa158c3cc7a86c2593f03c
      https://github.com/llvm/llvm-project/commit/d2f7f775cac5df24bafa158c3cc7a86c2593f03c
  Author: James Henderson <james.henderson at sony.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M lld/test/ELF/symbol-ordering-file.s

  Log Message:
  -----------
  [lld][ELF][test] Add additional --symbol-ordering-file testing

This covers a few cases that aren't otherwise tested:
1) Non-ascii symbol names are ordered.
2) Comments, whitespace and blank lines are trimmed.
3) Missing order files result in an error.

Reviewed by: MaskRay, grimar

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


Compare: https://github.com/llvm/llvm-project/compare/fd407e1f1eed...d2f7f775cac5


More information about the All-commits mailing list