Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/Makefile
          +++ new/usr/src/tools/smatch/Makefile
↓ open down ↓ 5 lines elided ↑ open up ↑
   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  # Copyright (c) 2019, Joyent, Inc.
  12   12  #
  13   13  
  14   14  #
  15   15  # The src/ sub-directory is un-modified copy of
  16      -# https://github.com/illumos/smatch/tree/0.5.1-il-4
       16 +# https://github.com/illumos/smatch/tree/0.5.1-il-5
  17   17  #
  18   18  # This Makefile installs just enough for us to be able to run smatch
  19   19  # locally.
  20   20  #
  21   21  
  22   22  PROG = smatch
  23      -SPARSE_VERSION = 0.5.1-il-4
       23 +SPARSE_VERSION = 0.5.1-il-5
  24   24  
  25   25  include ../Makefile.tools
  26   26  
  27   27  # We have to build smatch before we can use cw
  28   28  i386_CC = $(GNUC_ROOT)/bin/gcc
  29   29  sparc_CC = $(GNUC_ROOT)/bin/gcc
  30   30  # sparc doesn't recognise -msave-args
  31   31  i386_SMATCHFLAGS = -msave-args
  32   32  sparc_SMATCHFLAGS =
  33   33  
↓ open down ↓ 51 lines elided ↑ open up ↑
  85   85  OBJS += target.o parse.o tokenize.o pre-process.o symbol.o lib.o scope.o \
  86   86          expression.o show-parse.o evaluate.o expand.o inline.o linearize.o \
  87   87          char.o sort.o allocate.o compat-linux.o ptrlist.o \
  88   88          builtin.o \
  89   89          stats.o \
  90   90          flow.o cse.o simplify.o memops.o liveness.o storage.o unssa.o \
  91   91          dissect.o \
  92   92          macro_table.o token_store.o hashtable.o
  93   93  
  94   94  SMATCH_DATA = \
  95      -        illumos_kernel.no_return_funcs \
  96   95          illumos_kernel.skipped_functions \
  97      -        illumos_user.no_return_funcs \
  98   96          illumos_user.skipped_functions
  99   97  
 100   98  SMATCH_DB_DATA = \
 101   99          return_states.schema \
 102  100          call_implies.schema \
 103  101          type_value.schema \
 104  102          param_map.schema \
 105  103          function_type_size.schema \
 106  104          parameter_name.schema \
 107  105          fn_ptr_data_link.schema \
↓ open down ↓ 65 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX