summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2020-11-25 18:51:29 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2020-11-27 18:38:43 +0000
commit41b57d181d0b4df0badc148a4769e9d0bf008aaa (patch)
treea7fdf6b6b93b4f0eda3de0e5c6393063e8c360c2
parentd45f07cb8d28ca0e38cd96d8f00243ba58192eec (diff)
downloadillumos-joyent-41b57d181d0b4df0badc148a4769e9d0bf008aaa.tar.gz
13337 ctfconvert should skip ssp_ns.c when checking for debug data
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
-rw-r--r--usr/src/lib/libctf/common/ctf_dwarf.c1
1 files changed, 1 insertions, 0 deletions
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);