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

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 13:18:05 PDT 2021


hoy accepted this revision.
hoy added a comment.

In D110268#3016367 <https://reviews.llvm.org/D110268#3016367>, @wlei wrote:

> 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.

I see, it's not user code. Probably because jemalloc isn't built with fp omission off.


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