view make/linux/makefiles/build_vm_def.sh @ 1903:87d6a4d1ecbc

6990192: VM crashes in ciTypeFlow::get_block_for() Reviewed-by: never
author twisti
date Tue, 19 Oct 2010 02:52:57 -0700
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 ";" }
   '