[all-commits] [llvm/llvm-project] bcebad: [memprof] Update the isRuntime symbolization check.

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Tue Mar 7 12:16:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcebadeba75f4c05e9879607a89ac30d892fdcad
      https://github.com/llvm/llvm-project/commit/bcebadeba75f4c05e9879607a89ac30d892fdcad
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M llvm/lib/ProfileData/RawMemProfReader.cpp
    M llvm/unittests/ProfileData/MemProfTest.cpp

  Log Message:
  -----------
  [memprof] Update the isRuntime symbolization check.

Update the isRuntime check to only match against known memprof filenames
where interceptors are defined. This avoid issues where the path does
not include the directory based on how the runtime was compiled. Also
update the unittest.

Reviewed By: tejohnson

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




More information about the All-commits mailing list