[all-commits] [llvm/llvm-project] 49c048: [memprof] Add a test to verify callstack order.

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Wed Mar 16 10:11:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49c048add4c980936fc2918838288ae2d795587d
      https://github.com/llvm/llvm-project/commit/49c048add4c980936fc2918838288ae2d795587d
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M llvm/lib/ProfileData/RawMemProfReader.cpp
    A llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
    A llvm/test/tools/llvm-profdata/Inputs/memprof-inline.exe
    A llvm/test/tools/llvm-profdata/memprof-inline.test

  Log Message:
  -----------
  [memprof] Add a test to verify callstack order.

We add to ensure that we are observing the correct callstack order in memprof
during symbolization. There was some confusion whether the order of
DIFrame objects were reversed but in reality the leaf function is at
index 0 so no code changes are required.

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




More information about the All-commits mailing list