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>

Split Close
Expand all
Collapse all
          --- old/usr/src/test/util-tests/tests/ctf/check-common.h
          +++ new/usr/src/test/util-tests/tests/ctf/check-common.h
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3   * Common Development and Distribution License ("CDDL"), version 1.0.
   4    4   * You may only use this file in accordance with the terms of version
   5    5   * 1.0 of the CDDL.
   6    6   *
   7    7   * A full copy of the text of the CDDL should have accompanied this
   8    8   * source.  A copy of the CDDL is also available via the Internet at
   9    9   * http://www.illumos.org/license/CDDL.
  10   10   */
  11   11  
  12   12  /*
  13      - * Copyright (c) 2019, Joyent, Inc.
       13 + * Copyright 2019, Joyent, Inc.
  14   14   */
  15   15  
  16   16  #ifndef _CHECK_COMMON_H
  17   17  #define _CHECK_COMMON_H
  18   18  
  19   19  /*
  20   20   * Common definitions for the CTF tests
  21   21   */
  22   22  
  23   23  #include <stdlib.h>
↓ open down ↓ 72 lines elided ↑ open up ↑
  96   96   * Looks at each symbol specified and verifies that it matches the expected
  97   97   * type.
  98   98   */
  99   99  extern boolean_t ctftest_check_symbols(ctf_file_t *, const check_symbol_t *);
 100  100  
 101  101  /*
 102  102   * Given a symbol name which refers to a type, walks all the references of that
 103  103   * type and checks against it with each subsequent entry.
 104  104   */
 105  105  extern boolean_t ctftest_check_descent(const char *, ctf_file_t *,
 106      -    const check_descent_t *);
      106 +    const check_descent_t *, boolean_t);
 107  107  
 108  108  /*
 109  109   * Checks that all of the listed members of an enum are present and have the
 110  110   * right values.
 111  111   */
 112  112  extern boolean_t ctftest_check_enum(const char *, ctf_file_t *,
 113  113      const check_enum_t *);
 114  114  
 115  115  /*
 116  116   * Checks that all of the members of a structure or union are present and have
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX