Bartosz Taudul
20cfdc3022
Save executable file names next to build identifiers.
2022-05-01 12:43:15 +02:00
Bartosz Taudul
b4343d58f1
Pass filename to elf_open_debugfile_by_buildid.
...
This is not needed for anything at this moment, but it will become quite useful
soon.
2022-05-01 12:21:51 +02:00
Bartosz Taudul
89778fee9a
Free dl_iterate_phdr data immediately after use.
2022-05-01 12:18:39 +02:00
Bartosz Taudul
7e8961d2fc
Workaround dl_iterate_phdr problems.
...
The code now performs a dry run of a dl_iterate_phdr call, storing the results
in a vector. Then, the original processing loop is issued, but outside of
dl_iterate_phdr.
For possible cause of problems see:
https://github.com/libunwind/libunwind/issues/16
2022-04-30 23:15:16 +02:00
Bartosz Taudul
4559120821
Get descriptors using debuginfod, if not available otherwise.
2022-04-30 21:46:36 +02:00
Bartosz Taudul
1a1d7bbb54
Sync libbacktrace with 4d2dd0b.
2022-04-20 01:14:41 +02:00
Bartosz Taudul
3bb2094751
Sync libbacktrace with 2446c6.
2022-03-18 01:46:12 +01:00
Bartosz Taudul
6f855ebcd4
Update libbacktrace to d0f5e95.
2021-07-25 12:34:11 +02:00
Bartosz Taudul
8bacc7a91c
Update libbacktrace to dedbe13fda.
2021-01-31 15:19:30 +01:00
Bartosz Taudul
7e18540f9c
Use proper tracy alloc wrappers in libbacktrace.
2020-10-22 22:26:55 +02:00
Bartosz Taudul
54eb75b063
Report symbol entry address in inline function discovery.
2020-05-30 15:38:59 +02:00
Bartosz Taudul
ff27656533
Backport some fixes from libbacktrace upstream repo.
2020-05-30 14:23:29 +02:00
Bartosz Taudul
71bf352af2
Use mach-o/dyld.h on osx.
2020-03-02 13:51:39 +01:00
Bartosz Taudul
fd363d7d85
Implement getexecname() for osx.
2020-03-02 13:47:34 +01:00
Bartosz Taudul
31dc44feee
Fix casts.
2020-03-02 12:29:32 +01:00
Bartosz Taudul
0b3431289f
Fix libbacktrace config for BSD.
2020-03-01 13:02:29 +01:00
Bartosz Taudul
fdc3b01054
Update libbacktrace to ca0de0517.
2020-03-01 12:55:32 +01:00
thedmd
a1e2c533f6
libbacktrace: Add support for Mach-O (dSYM)
...
`macho.cpp` was backported from official libbacktrace repository.
2019-11-29 12:04:47 +01:00
Bartosz Taudul
bf778e2989
Add support for BSD in libbacktrace.
...
https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00068.html
2019-11-21 20:41:57 +01:00
Till Rathmann
29140afe0c
Fixed compiler warnings.
2019-02-20 17:50:49 +01:00
Bartosz Taudul
0ce3dfaba7
Add modified libbacktrace.
...
https://github.com/ianlancetaylor/libbacktrace
5a99ff7fed66b8ea8f09c9805c138524a7035ece
2019-01-20 16:53:45 +01:00