Print this page
Address Robert's feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/test/util-tests/tests/demangle/llvm-stdcxxabi.c
          +++ new/usr/src/test/util-tests/tests/demangle/llvm-stdcxxabi.c
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  
  12   12  // Is long double fp80?  (Only x87 extended double has 64-bit mantissa)
  13   13  #define LDBL_FP80 (__LDBL_MANT_DIG__ == 64)
  14   14  
  15   15  #include <sysdemangle.h>
  16   16  #include <sys/debug.h>
  17   17  #include <string.h>
  18   18  #include <stdlib.h>
  19   19  #include <errno.h>
  20   20  
  21      -/* My masochism only goes so far... */
       21 +/*
       22 + * My masochism only goes so far -- leave the mangled and unmangled strings
       23 + * as is, even if they go past 80 columns wide.
       24 + */
  22   25  
  23   26  /* BEGIN CSTYLED */
  24   27  static struct {
  25   28          const char *mangled;
  26   29          const char *demangled;
  27   30  } pass[] = {
  28   31      {"_Z1A", "A"},
  29   32      {"_Z1Av", "A()"},
  30   33      {"_Z1A1B1C", "A(B, C)"},
  31   34      {"_Z4testI1A1BE1Cv", "C test<A, B>()"},
↓ open down ↓ 29699 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX