view make/solaris/makefiles/build_vm_def.sh @ 21572:d6d7e51d9206

Truffle/instrumentation: catch a NPE error condition (when a tagged STATEMENT has no source information)
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Wed, 27 May 2015 20:49:09 -0700
parents da0999c4b733
children
line wrap: on
line source

#!/bin/sh

/usr/ccs/bin/nm -p $* \
    | awk '{
          if ($2 == "U") next
          if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
          if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
          if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
          }' \
    | sort -u