Print this page
10823 should ignore DW_TAG_subprogram with DW_AT_declaration tags
10824 GCC7-derived CTF can double qualifiers on arrays
10825 ctfdump -c drops last type
10826 ctfdump -c goes off the rails with a missing parent
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Jason King <jason.king@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>

@@ -8,11 +8,11 @@
 # source.  A copy of the CDDL is also available via the Internet at
 # http://www.illumos.org/license/CDDL.
 #
 
 #
-# Copyright (c) 2019, Joyent, Inc.
+# Copyright 2019, Joyent, Inc.
 #
 
 include $(SRC)/Makefile.master
 
 ROOTOPTPKG = $(ROOT)/opt/util-tests

@@ -30,10 +30,11 @@
                 test-array.c \
                 test-enum.c \
                 test-forward.c \
                 test-sou.c \
                 test-function.c \
+                test-qualifiers.c \
                 test-merge-static/Makefile.ctftest \
                 test-merge-static/test-a.c \
                 test-merge-static/test-b.c \
                 test-merge-static/test-c.c \
                 test-merge-static/test-d.c \

@@ -71,10 +72,11 @@
                 check-sou-32 \
                 check-sou-64 \
                 check-forward-32 \
                 check-forward-64 \
                 check-function \
+                check-qualifiers \
                 check-merge-static \
                 check-merge-forward-32 \
                 check-merge-forward-64 \
                 check-merge-dedup \
                 check-merge-reduction \

@@ -94,10 +96,12 @@
 ROOTSCRIPTS     := FILEMODE =   0555
 
 include $(SRC)/cmd/Makefile.cmd
 include $(SRC)/test/Makefile.com
 
+CSTD = $(CSTD_GNU99)
+
 LDLIBS +=       -lctf
 
 check-merge-static :=   LDLIBS += -lelf
 
 all: $(CHECKS)