hotspot/make/solaris/makefiles/build_vm_def.sh
author dcubed
Fri, 16 Sep 2011 16:21:20 -0700
changeset 10559 a94d067da388
permissions -rw-r--r--
7071904: 4/4 HotSpot: Full Debug Symbols Summary: Add support for .debuginfo files for HSX libraries. Reviewed-by: poonam, dholmes, never

#!/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