view make/linux/makefiles/build_vm_def.sh @ 1799:4094f07967ca

6974813: JVM needs to use demand loading for its DTrace probes Summary: Pass -xlazyload to the 'dtrace -G' invocation Reviewed-by: phh, ysr
author kamg
date Wed, 15 Sep 2010 16:28:19 -0400
parents 126ea7725993
children a5610f0862fe
line wrap: on
line source

#!/bin/sh

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

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