view make/linux/makefiles/build_vm_def.sh @ 3103:6484bdc9b508

IdealGraphVisualizer: ensure that input graphs are scheduled and all nodes are assigned to blocks before computing their difference. This fixes exceptions when creating a diff against a graph without blocks that was never viewed before (for instance, graphs from the server compiler).
author Peter Hofer <peter.hofer@jku.at>
date Thu, 30 Jun 2011 16:50:53 +0200
parents a5610f0862fe
children da0999c4b733
line wrap: on
line source

#!/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 ";" }
   '