hotspot/make/linux/makefiles/build_vm_def.sh
author sspitsyn
Thu, 29 Jan 2015 03:11:01 -0800
changeset 28741 1f10b1bd612d
parent 10559 a94d067da388
permissions -rw-r--r--
8008678: JSR 292: constant pool reconstitution must support pseudo strings Summary: Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string. Reviewed-by: coleenp, jrose Contributed-by: serguei.spitsyn@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5045
59dd2a304f1d 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
     1
#!/bin/sh
59dd2a304f1d 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
never
parents:
diff changeset
     2
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     3
# If we're cross compiling use that path for nm
7445
57d387675180 7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
dholmes
parents: 6176
diff changeset
     4
if [ "$CROSS_COMPILE_ARCH" != "" ]; then 
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     5
NM=$ALT_COMPILER_PATH/nm
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     6
else
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     7
NM=nm
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     8
fi
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5045
diff changeset
     9
10559
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    10
$NM --defined-only $* \
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    11
    | awk '{
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    12
              if ($3 ~ /^_ZTV/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    13
              if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    14
              if ($3 ~ /^_ZN9Arguments17SharedArchivePathE$/) print "\t" $3 ";"
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    15
          }' \
a94d067da388 7071904: 4/4 HotSpot: Full Debug Symbols
dcubed
parents: 7445
diff changeset
    16
    | sort -u