annotate make/solaris/makefiles/build_vm_def.sh @ 6782:5a98bf7d847b

6879063: SA should use hsdis for disassembly Summary: We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler. Reviewed-by: twisti, jrose, sla Contributed-by: yumin.qi@oracle.com
author minqi
date Mon, 24 Sep 2012 12:44:00 -0700
parents da0999c4b733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3954
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
1 #!/bin/sh
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
2
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
3 /usr/ccs/bin/nm -p $* \
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
4 | awk '{
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
5 if ($2 == "U") next
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
6 if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
7 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
8 if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
9 }' \
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents:
diff changeset
10 | sort -u