[all-commits] [llvm/llvm-project] 3a1a40: [memprof] Return an error for unsupported symboliz...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Mon Jun 27 09:50:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a1a404ae2d323ebb20f2e270abb0cabd337cf35
      https://github.com/llvm/llvm-project/commit/3a1a404ae2d323ebb20f2e270abb0cabd337cf35
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

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

  Log Message:
  -----------
  [memprof] Return an error for unsupported symbolization.

Add a check to detect that the profiled binary was build with position
independent code. Add a test with a pie binary to which can be reused
later when support is added. Also clean up the error messages with
trailing colons.

Reviewed By: tejohnson

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




More information about the All-commits mailing list