Re:Bytehound: Memory Profiler for Linux
by tdullien on Thursday May 23, 2024 @04:24PM
(#40459465)
It's going to play poorly when C++ exceptions are thrown/caught.
[ Parent
| on HN ]
Looking at the code [1] it seems like the library is actively trying to handle this problem.
[1] https://github.com/koute/not-perf/blob/master/nwind/src/loca...
Re:Bytehound: Memory Profiler for Linux
by kouteiheika on Friday May 24, 2024 @02:01AM
(#40463269)
It should support C++ exceptions. The trampolines have exception landing pads included to catch and rethrow any exceptions which are thrown through them.