hotspot/make/solaris/makefiles/build_vm_def.sh
author dcubed
Tue, 03 Apr 2012 09:48:34 -0700
changeset 12502 a37189400e0d
parent 10559 a94d067da388
permissions -rw-r--r--
7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds Summary: Build option FULL_DEBUG_SYMBOLS=0 only affects product builds. Reviewed-by: ohair, jmelvin, sspitsyn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10559
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     1
#!/bin/sh
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     2
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     3
/usr/ccs/bin/nm -p $* \
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     4
    | awk '{
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     5
          if ($2 == "U") next
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     6
          if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     7
          if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     8
          if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
     9
          }' \
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
    10
    | sort -u