hotspot/make/bsd/makefiles/build_vm_def.sh
author iveresov
Fri, 20 Jun 2014 11:25:08 -0700
changeset 25340 cecf01c76a9e
parent 18431 f801ce7e5c12
permissions -rw-r--r--
8047321: Hotspot debug builds with clang are broken Summary: Don't use -Og with clang Reviewed-by: twisti

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