hotspot/make/bsd/makefiles/build_vm_def.sh
author vlivanov
Tue, 14 Apr 2015 18:03:43 +0300
changeset 30222 bfe6be3c4ef8
parent 18431 f801ce7e5c12
permissions -rw-r--r--
8057919: Class.getSimpleName() should work for non-JLS compliant class names Reviewed-by: dholmes, jrose

#!/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 -Uj $* | awk '
   { if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 }
   '