- 28 Sep, 2020 8 commits
-
-
Ian Lance Taylor authored
PR libbacktrace/96973 * fileline.c (macho_get_executable_path): New static function. (fileline_initialize): Call macho_get_executable_path.
-
Ian Lance Taylor authored
Searching for a range match can cause the search order to not match the sort order, which can cause libbacktrace to miss matching entries. Allocate an extra entry at the end of function_addrs and unit_addrs vectors, so that we can safely compare to the next entry when searching. Adjust the matching code accordingly. Fixes #44 * dwarf.c (function_addrs_search): Compare against the next entry low address, not the high address. (unit_addrs_search): Likewise. (build_address_map): Add a trailing unit_addrs. (read_function_entry): Add a trailing function_addrs. (read_function_info): Likewise. (report_inlined_functions): Search backward for function_addrs match. (dwarf_lookup_pc): Search backward for unit_addrs and function_addrs matches.
-
Ian Lance Taylor authored
* simple.c (simple_unwind): Correct comment spelling. Close #47
-
Ian Lance Taylor authored
* macho.c (macho_add_dsym): Make space for '/' in dsym. Use correct length when freeing diralc. Close #40
-
Ian Lance Taylor authored
libbacktrace/ChangeLog: PR libbacktrace/96973 * macho.c (macho_add_fat): Correctly swap 32-bit file offset.
-
Ian Lance Taylor authored
libbacktrace/ChangeLog: PR libbacktrace/96971 * filetype.awk: Only match magic number at start of line.
-
Ian Lance Taylor authored
libbacktrace/: * macho.c (MACH_O_MH_MAGIC_FAT_64): Define. (MACH_O_MH_CIGAM_FAT_64): Define. (struct macho_fat_arch_64): Define. (macho_add_fat): Add and use is_64 parameter. (macho_add): Recognize 64-bit fat files.
-
Ian Lance Taylor authored
On AIX, the compiler supports DWARF 5 but the linker does not. 2020-07-07 Clement Chigot <clement.chigot@atos.net> * configure.ac: Test linker support for DWARF5 * configure: Regenerate
-
- 13 May, 2020 2 commits
-
-
Ian Lance Taylor authored
-
Ian Lance Taylor authored
For https://gcc.gnu.org/PR95061
-
- 11 May, 2020 1 commit
-
-
Ian Lance Taylor authored
Fixes https://gcc.gnu.org/PR95012.
-
- 10 May, 2020 1 commit
-
-
Ian Lance Taylor authored
Patch from Roland McGrath. Fixes #41
-
- 19 Feb, 2020 4 commits
-
-
Ian Lance Taylor authored
Fixes #29
-
Ian Lance Taylor authored
-
Ian Lance Taylor authored
This approach required adding a few casts to ztest.c, as it is now compiled with -Wall. Fixes GCC PR libbacktrace/90636
-
Ian Lance Taylor authored
-
- 16 Feb, 2020 3 commits
-
-
Ian Lance Taylor authored
-
Ian Lance Taylor authored
Fixes #32
-
Ian Lance Taylor authored
Fixes #29
-
- 15 Feb, 2020 1 commit
-
-
Ian Lance Taylor authored
This supports FreeBSD and NetBSD when /proc is not mounted.
-
- 24 Dec, 2019 1 commit
-
-
Ian Lance Taylor authored
This adds DWARF 5 support as well as an enhanced testsuite. Patch assembled by Than McIntosh.
-
- 05 Jun, 2018 2 commits
-
-
Ian Lance Taylor authored
Update to config.guess 2018-05-19 and config.sub 2018-05-24 from git://git.savannah.gnu.org/config.git revision 3a2a927f547ee478147008c3fda2adb8a2b2ebc4. This brings in musl support.
-
Ian Lance Taylor authored
Copied from GCC revision 256122.
-
- 17 Apr, 2018 2 commits
-
-
Ian Lance Taylor authored
directly. Updates #13
-
Ian Lance Taylor authored
2018-04-17 Ian Lance Taylor <iant@golang.org> * backtrace.c (backtrace_full): When testing whether we can allocate memory, call mmap directly, and munmap the memory. 2018-04-04 Jakub Jelinek <jakub@redhat.com> PR other/85161 * elf.c (elf_zlib_fetch): Fix up predefined macro names in test for big endian, only use 32-bit loads if endianity macros are predefined and indicate big or little endian. 2018-02-15 Jakub Jelinek <jakub@redhat.com> PR other/82368 * elf.c (SHT_PROGBITS): Undefine and define. 2018-02-14 Jakub Jelinek <jakub@redhat.com> PR other/82368 * elf.c (EM_PPC64, EF_PPC64_ABI): Undefine and define. (struct elf_ppc64_opd_data): New type. (elf_initialize_syminfo): Add opd argument, handle symbols pointing into the PowerPC64 ELFv1 .opd section. (elf_add): Read .opd section on PowerPC64 ELFv1, pass pointer to structure with .opd data to elf_initialize_syminfo. 2018-01-19 Tony Reix <tony.reix@atos.net> * xcoff.c (xcoff_incl_compare): New function. (xcoff_incl_search): New function. (xcoff_process_linenos): Use bsearch to find include file. (xcoff_initialize_fileline): Sort include file information. Fixes #13
-
- 31 Jan, 2018 1 commit
-
-
Ian Lance Taylor authored
* btest.c (check_open_files): New static function. (main): Call check_open_files.
-
- 25 Jan, 2018 6 commits
-
-
Ian Lance Taylor authored
desired CRC is zero. (elf_add): Don't clear *found_sym and *found_dwarf if debuginfo.
-
Ian Lance Taylor authored
-
Ian Lance Taylor authored
Updates #11
-
Ian Lance Taylor authored
Fixes #3
-
Ian Lance Taylor authored
Fixes #1
-
Ian Lance Taylor authored
on the free list. Fixes #5 Fixes rust-lang/rust#29293 Fixes rust-lang/rust#37477
-
- 17 Jan, 2018 3 commits
-
-
Ian Lance Taylor authored
Add required support files to the config subdirectory. Update dtest to be based on a statically linked program.
-
Ian Lance Taylor authored
-
Ian Lance Taylor authored
This brings in this patch: * elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be 288. (main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to elf_zlib_inflate_table. Generate elf_zlib_default_dist_table. (elf_zlib_default_table): Update. (elf_zlib_default_dist_table): New static array. (elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table for block type 1. * ztest.c (struct zlib_test): Add uncompressed_len. (tests): Initialize uncompressed_len field. Add new test case. (test_samples): Use uncompressed_len field.
-
- 15 Jan, 2018 2 commits
-
-
Ian Lance Taylor authored
-
Than McIntosh authored
Previous change (update from gcc trunk) broke 'make install'; this corrects the problem.
-
- 12 Jan, 2018 1 commit
-
-
Than McIntosh authored
Includes (among other things) support for compressed debug sections, a variety of bugfixes, and expanded test coverage.
-
- 29 May, 2017 1 commit
-
-
Ian Lance Taylor authored
Fixes #4
-
- 11 Sep, 2016 1 commit
-
-
Ian Lance Taylor authored
-