C++ Logo

std-proposals

Advanced search

Re: [std-proposals] #include <debug>

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 29 Nov 2024 08:29:53 -0800
On Friday 29 November 2024 02:06:00 Pacific Standard Time Frederick Virchanza
Gotham via Std-Proposals wrote:
> Another thing would be to keep track of all the places from which a
> function is invoked (i.e. keep track of all the call sites), something
> like:

1) Compile in debug mode
2) Disassemble the binary and get all call sites
3) Use addr2line to convert back to source code, if necessary

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-11-29 16:29:58