annotate make/linux/makefiles/build_vm_def.sh @ 21551:5324104ac4f3

moved com.oracle.graal.hotspot.jvmci classes to com.oracle.jvmci.hotspot module (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Tue, 26 May 2015 17:13:37 +0200
parents da0999c4b733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1294
7de45b5044c3 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
1 #!/bin/sh
7de45b5044c3 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
2
1681
126ea7725993 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 1294
diff changeset
3 # If we're cross compiling use that path for nm
2020
a5610f0862fe 7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
dholmes
parents: 1681
diff changeset
4 if [ "$CROSS_COMPILE_ARCH" != "" ]; then
1681
126ea7725993 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 1294
diff changeset
5 NM=$ALT_COMPILER_PATH/nm
126ea7725993 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 1294
diff changeset
6 else
126ea7725993 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 1294
diff changeset
7 NM=nm
126ea7725993 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 1294
diff changeset
8 fi
126ea7725993 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 1294
diff changeset
9
3954
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
10 $NM --defined-only $* \
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
11 | awk '{
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
12 if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
13 if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
14 if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
15 }' \
da0999c4b733 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 2020
diff changeset
16 | sort -u