[all-commits] [llvm/llvm-project] 9cf60d: [llvm-gsymutil] Fix tracking of currently open file

Victor Michel via All-commits all-commits at lists.llvm.org
Mon Oct 3 17:50:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cf60d8479e2eef3a8881c166b82f8db639fcd9e
      https://github.com/llvm/llvm-project/commit/9cf60d8479e2eef3a8881c166b82f8db639fcd9e
  Author: Victor Michel <vic.michel.web at gmail.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp

  Log Message:
  -----------
  [llvm-gsymutil] Fix tracking of currently open file

Prior to this change, `CurrentGSYMPath` was never updated. As a consequence, the GSYM file was reopened for every frame, even if all frames were relative to the same GSYM file.

This change brings a 13x speedup on a test I'm doing (symbolizing ~25K frames from libxul)

(This is my first-ever LLVM change - sorry if I missed something in the process!)

Reviewed By: simon.giesecke, clayborg

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




More information about the All-commits mailing list