git: a3c8c061e270 - main - kernel: Add new dwarf symbols
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Aug 2024 04:23:39 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=a3c8c061e270dd5f3061072f14249e4766bc752c
commit a3c8c061e270dd5f3061072f14249e4766bc752c
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-08-01 04:22:31 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-08-01 04:23:25 +0000
kernel: Add new dwarf symbols
Add new symbols defined in dwarf 4 and dwarf 5.
Submitted by: Matt Macy (in D17982, done differently)
Sponsored by: Netflix
Reviewed by: kib, markj, emaste
Differential Revision: https://reviews.freebsd.org/D44072
---
sys/conf/debuginfo.ldscript | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys/conf/debuginfo.ldscript b/sys/conf/debuginfo.ldscript
index 1f7ede57ced0..a131afb1d4ad 100644
--- a/sys/conf/debuginfo.ldscript
+++ b/sys/conf/debuginfo.ldscript
@@ -34,3 +34,8 @@
/* DWARF 3 */
.debug_pubtypes 0 : { *(.debug_pubtypes) }
.debug_ranges 0 : { *(.debug_ranges) }
+ /* DWARF 4 */
+ .debug_types 0 : { *(.debug_types) }
+ /* DWARF 5 */
+ .debug_macro 0 : { *(.debug_macro) }
+ .debug_addr 0 : { *(.debug_addr) }