From 41b57d181d0b4df0badc148a4769e9d0bf008aaa Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Wed, 25 Nov 2020 18:51:29 +0000 Subject: 13337 ctfconvert should skip ssp_ns.c when checking for debug data Reviewed by: Robert Mustacchi Reviewed by: Igor Kozhukhov Approved by: Gordon Ross --- usr/src/lib/libctf/common/ctf_dwarf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/src/lib/libctf/common/ctf_dwarf.c b/usr/src/lib/libctf/common/ctf_dwarf.c index d91888d6c1..1618c8add4 100644 --- a/usr/src/lib/libctf/common/ctf_dwarf.c +++ b/usr/src/lib/libctf/common/ctf_dwarf.c @@ -3288,6 +3288,7 @@ c_source_has_debug(const char *file, ctf_cu_t *cus, size_t nr_cus) strcmp(basename, "gmon.c") == 0 || strcmp(basename, "dlink_init.c") == 0 || strcmp(basename, "dlink_common.c") == 0 || + strcmp(basename, "ssp_ns.c") == 0 || strncmp(basename, "crt", strlen("crt")) == 0 || strncmp(basename, "values-", strlen("values-")) == 0) return (B_TRUE); -- cgit v1.2.3