|
Boost : |
Subject: Re: [boost] Checking interest in stacktrace library
From: Klemens Morgenstern (klemens.morgenstern_at_[hidden])
Date: 2016-06-18 17:18:46
Am 18.06.2016 um 23:15 schrieb Tim Blechmann:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>> I've got some prototype for getting stack traces:
>> https://github.com/apolukhin/stacktrace It's design is based on the
>> idea that class for stacktrace must be fully noexcept, without
>> dynamic allocations in constructors and as simple as possible.
>>
>> Is there interest in it?
> very useful! hope to see it in boost soon!
>
>
>> What functionality would you like to have in it?
> file & line number ... at least for the top frame and possibly
> optional. this would require a macro, but might be useful for
> debugging ...
With gcc you can find that out with addr2line if you have the address of
the function and or the source of the call (i.e. address of the statement).
Not sure if that would need to be in the library then, though I don't
know the other compilers.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJXZbnxAAoJEAIkvWiom07Duu8P/3bUtKm1ByYba99HQ+wD/avn
> t1By+zLgmKQAxQFs0eeRM1LaeHydbfT7yc8G12MWY5x8ObuzvJ3vWraIag98tXT1
> 8u0RdpWPp2SWhbV2+X7a/CUgjOEYsD8N0fubchwZvfrKLhB9UqKdD39qNcWzi8H0
> RTno9nh0zXrALoIcjz3T0VAWdDc40Rk0n3JifAsbOtvmZVhOq3DHbcQHSSb+CvNv
> ttOdFYbjaNeZCeZrG/u4j4qIM22tXdOmsomJiWIp6dKE0c+pp/XEZ63uHsJ6wNzv
> bBu8Aysl84fgWtt0gA9riqgLcoJwyZIfB2PkvnFXGh4DF4pxEgNz3Y+zzGGMAEPb
> 9XYAhk+UF6gGcNwkG1TDIyxn53mNvacWdqs8Bff8aVjoIEZzUFKKWPfZSCiVaEkx
> qq+5RnytRgpM/x2R/3Rd6IgD0/QzPGjs9de3FFxPoYVKMHc/HFieRprt6nkh+NjD
> NxE5rm2ZWUxE4wnY9th2rIkc+LWj69HZinKcPlonuGz5ufW8wwnR9J9kkPFc1y9j
> 2ZtQJJ96haHCtzZoCWp6v6190edfCS7M7kPbwMT/OAzHTOD9j/Wc8zZj43sN5els
> 05IYgUzSFVhIo9P/qkQBVUh3NtQaLPkrMmDB7WanirEtSlF6z/l/QfyNihT23ClZ
> ThMBQivf7ZxqRok3mDPq
> =c4/L
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk