[PATCH] D110268: [llvm-profgen] Fix a bug of assertion

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 13:14:36 PDT 2021


wlei added a comment.

In D110268#3015817 <https://reviews.llvm.org/D110268#3015817>, @hoy wrote:

> Good catch. What is the case you saw that the call stack has only one leaf frame? Is it in the `main` function?

Good question. `main` should be one case if it hit any samples. In my run, it showed like below. seems it's from external lib.

  jemalloc_je_edata_heap_insert
  jemalloc_je_arena_dalloc_bin_locked_handle_newly_nonempty
  jemalloc_je_edata_heap_remove_first
  jemalloc_je_arena_cache_bin_fill_small
  extent_record
  _ZdlPvm

Not sure why this doesn't have context.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110268/new/

https://reviews.llvm.org/D110268



More information about the llvm-commits mailing list