The assertion should work on the entire context.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Good catch. What is the case you saw that the call stack has only one leaf frame? Is it in the main function?
Comment Actions
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.
Comment Actions
perhaps external code called these allocator functions. we're not going to optimize these anyways.
Comment Actions
I see, it's not user code. Probably because jemalloc isn't built with fp omission off.
Comment Actions
perhaps external code called these allocator functions. we're not going to optimize these anyways.
I see, it's not user code. Probably because jemalloc isn't built with fp omission off.
I see, thanks for the context.