hotspot/make/bsd/makefiles/build_vm_def.sh
author acorn
Mon, 28 Jan 2013 10:55:30 -0500
changeset 15439 a72c53517fe7
parent 10565 dc90c239f4ec
child 18431 f801ce7e5c12
permissions -rw-r--r--
8004967: Default method cause VerifyError: Illegal use of nonvirtual Summary: Recognize VM generated method in old verifier Reviewed-by: acorn, coleenp Contributed-by: bharadwaj.yadavelli@oracle.com

#!/bin/sh

# If we're cross compiling use that path for nm
if [ "$CROSS_COMPILE_ARCH" != "" ]; then 
NM=$ALT_COMPILER_PATH/nm
else
NM=nm
fi

$NM --defined-only $* | awk '
   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";" }
   '