herman ten brugge
2f2708a769
Add dwarf support
...
The new gcc12 release does not support stabs any more.
This was a good reason to add support for dwarf.
The stabs code still works and is used if configure option --dwarf
is not used.
Tested on x86_64, i386, arm, arm64, riscv64 with dwarf-5.
Some debuggers may not support dwarf-5. Try using older dwarf versions
i that case.
The tccmacho.c code probably need some support for dwarf.
arm-gen.c, arm64-gen.c, i386-gen.c, riscv64-gen.c, x86_64-gen.
- fix get_sym_ref symbol size
arm-link.c, arm64-link.c, i386-link.c, riscv64-link.c, x86_64-link.c
- add R_DATA_32U
libtcc.c:
- parse -gdwarf option
tcc.c:
- add dwarf option
tcc.h:
- add dwarf option and sections
tccelf.c:
- init dwarf sections
- avoid adding sh_addr for dwarf sections
- remove dwarf relocs for output dll
- add dwarf sections for tccrun
tccgen.c:
- add dwarf defines + global data
- add dwarf_* functions
- mix dwarf code with stabs code
- a trick is used to emit function name in .debug_line section so
only this section has to be parsed instead of .debug_info and
.debug_abbrev.
- fix init debug_modes
tccrun.c:
- add dwarf sections in rt_context
- init them in tcc_run
- add new dwarf code rt_printline_dwarf to find file/function
dwarf.h:
- New file
tcc-doc.texi:
- document dwarf
configure:
- add dwarf option
lib/Makefile
- change -gstabs into -gdwarf
lib/bt-exe.c, tests/tests2/Makefile, tests/tests2/126_bound_global:
- Add __bound_init call
- Add new testcase to test it
2022-05-05 09:10:37 +02:00
..
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2020-02-09 18:31:19 +01:00
2020-02-09 18:31:19 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2018-12-22 19:14:22 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2020-01-20 05:48:48 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2017-07-10 22:20:34 +02:00
2017-07-10 22:20:34 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2020-09-17 07:12:49 +00:00
2020-09-17 07:12:49 +00:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2015-01-05 18:23:32 +03:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2015-11-22 00:00:36 +00:00
2015-11-22 00:00:36 +00:00
2016-10-12 06:18:38 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2014-04-12 13:37:37 -04:00
2013-02-05 13:22:36 +01:00
2014-04-07 11:20:45 +02:00
2014-04-07 11:20:45 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2020-02-17 18:25:43 +01:00
2020-04-15 02:44:12 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2021-02-13 19:18:08 -08:00
2021-02-13 19:18:08 -08:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2017-07-14 17:42:48 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2020-10-03 17:40:22 +02:00
2020-10-03 17:40:22 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2019-12-12 12:56:06 +01:00
2014-04-12 14:04:10 -04:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2022-03-16 19:16:29 +01:00
2022-03-16 19:16:29 +01:00
2020-07-06 13:42:02 +02:00
2020-07-06 13:42:02 +02:00
2015-03-03 16:32:25 +03:00
2014-04-07 23:30:57 +08:00
2014-04-12 16:11:42 +08:00
2014-04-12 16:11:42 +08:00
2014-12-15 16:32:08 +08:00
2014-12-15 16:32:08 +08:00
2015-01-18 22:00:10 +01:00
2015-01-18 22:00:10 +01:00
2015-05-09 14:29:39 +02:00
2015-05-09 14:29:39 +02:00
2020-03-22 08:26:03 +01:00
2015-03-07 17:42:08 +00:00
2015-03-23 08:27:16 +03:00
2015-03-23 08:27:16 +03:00
2015-04-20 12:03:45 +01:00
2015-04-20 12:03:45 +01:00
2015-04-25 15:03:50 +03:00
2015-04-25 15:03:50 +03:00
2015-11-21 23:58:58 +00:00
2015-11-21 23:58:58 +00:00
2021-02-03 04:30:11 +01:00
2015-04-28 09:23:29 +00:00
2016-03-11 22:35:44 +01:00
2016-03-11 22:35:44 +01:00
2019-04-09 04:39:38 +02:00
2016-03-24 15:44:01 +01:00
2018-12-31 22:00:31 +01:00
2018-07-28 18:55:54 +02:00
2016-04-05 13:05:09 +03:00
2016-04-05 13:05:09 +03:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2020-07-06 13:00:47 +02:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2018-01-05 02:19:26 +01:00
2018-01-05 02:19:26 +01:00
2019-12-16 21:37:44 +01:00
2016-12-20 04:58:34 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2022-03-16 19:18:16 +01:00
2022-03-16 19:18:16 +01:00
2017-02-13 19:03:29 +01:00
2017-02-13 19:03:29 +01:00
2019-06-24 11:40:01 +02:00
2017-05-05 23:16:43 +02:00
2017-05-09 18:36:24 +02:00
2017-05-09 18:36:24 +02:00
2020-11-22 16:30:34 -06:00
2020-11-22 16:30:34 -06:00
2017-07-14 19:26:01 +02:00
2020-08-09 07:50:34 +02:00
2020-08-09 08:28:45 +02:00
2020-08-09 07:50:34 +02:00
2021-02-18 14:43:34 +01:00
2019-12-16 21:37:44 +01:00
2021-01-18 08:32:50 +01:00
2017-09-10 16:50:19 +08:00
2020-07-06 13:00:47 +02:00
2017-09-10 17:03:34 +08:00
2020-12-22 07:02:47 +01:00
2017-09-10 18:22:48 +08:00
2018-04-01 00:48:09 +02:00
2018-04-01 00:48:09 +02:00
2019-05-03 12:32:55 +02:00
2019-05-03 12:32:55 +02:00
2019-04-11 00:37:07 +02:00
2020-11-02 18:08:56 +01:00
2020-08-13 11:19:11 +02:00
2019-04-18 03:42:23 +02:00
2019-06-22 00:26:31 +02:00
2019-06-22 00:26:31 +02:00
2019-06-22 00:26:31 +02:00
2019-06-17 19:08:08 +02:00
2019-06-17 19:08:08 +02:00
2020-12-19 21:02:44 +01:00
2020-12-19 21:02:44 +01:00
2019-10-24 00:57:59 +08:00
2019-10-24 00:57:59 +08:00
2019-10-29 07:02:58 +01:00
2019-10-29 07:02:58 +01:00
2019-10-29 12:02:58 +01:00
2019-10-29 12:02:58 +01:00
2019-12-10 08:07:25 +01:00
2019-12-10 08:07:25 +01:00
2019-12-10 08:07:25 +01:00
2019-12-10 08:07:25 +01:00
2020-06-20 22:14:38 +02:00
2020-01-19 11:46:07 +01:00
2020-01-19 11:46:07 +01:00
2020-01-19 11:46:07 +01:00
2020-11-10 10:08:30 +01:00
2020-05-05 08:31:57 +02:00
2020-12-24 09:29:25 +01:00
2020-05-23 20:02:41 +02:00
2020-05-23 20:02:41 +02:00
2020-05-23 20:02:41 +02:00
2020-08-21 21:44:11 +02:00
2020-08-21 21:44:11 +02:00
2020-08-21 21:44:11 +02:00
2020-08-21 21:44:11 +02:00
2021-01-01 20:36:57 +01:00
2020-08-21 21:44:11 +02:00
2020-10-01 18:03:56 +02:00
2020-09-30 17:46:01 +02:00
2020-09-30 17:46:01 +02:00
2020-10-01 17:09:09 +02:00
2020-10-01 17:09:09 +02:00
2020-10-01 17:09:09 +02:00
2020-10-01 17:09:09 +02:00
2021-02-03 04:30:11 +01:00
2021-02-03 04:30:11 +01:00
2021-04-05 20:57:05 +03:00
2021-04-05 20:57:05 +03:00
2021-04-13 09:13:25 +02:00
2021-04-09 10:47:35 +02:00
2022-05-05 09:10:37 +02:00
2022-05-05 09:10:37 +02:00
2013-02-05 13:22:36 +01:00
2022-05-05 09:10:37 +02:00