Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/make/solaris/makefiles/debug.make
32284 views
#1# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3#4# This code is free software; you can redistribute it and/or modify it5# under the terms of the GNU General Public License version 2 only, as6# published by the Free Software Foundation.7#8# This code is distributed in the hope that it will be useful, but WITHOUT9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11# version 2 for more details (a copy is included in the LICENSE file that12# accompanied this code).13#14# You should have received a copy of the GNU General Public License version15# 2 along with this work; if not, write to the Free Software Foundation,16# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17#18# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19# or visit www.oracle.com if you need additional information or have any20# questions.21#22#2324# Sets make macros for making debug version of VM2526# Compiler specific DEBUG_CFLAGS are passed in from gcc.make, sparcWorks.make27DEBUG_CFLAGS/DEFAULT= $(DEBUG_CFLAGS)28DEBUG_CFLAGS/BYFILE = $(DEBUG_CFLAGS/$@)$(DEBUG_CFLAGS/DEFAULT$(DEBUG_CFLAGS/$@))2930ifeq ("${Platform_compiler}", "sparcWorks")3132ifeq ($(COMPILER_REV_NUMERIC),508)33# SS11 SEGV when compiling with -g and -xarch=v8, using different backend34DEBUG_CFLAGS/compileBroker.o = $(DEBUG_CFLAGS) -xO035DEBUG_CFLAGS/jvmtiTagMap.o = $(DEBUG_CFLAGS) -xO036endif37endif3839# _NMT_NOINLINE_ informs NMT that no inlining by Compiler40CFLAGS += $(DEBUG_CFLAGS/BYFILE) -D_NMT_NOINLINE_4142# Set the environment variable HOTSPARC_GENERIC to "true"43# to inhibit the effect of the previous line on CFLAGS.4445# Linker mapfiles46MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \47$(GAMMADIR)/make/solaris/makefiles/mapfile-vers-debug4849# This mapfile is only needed when compiling with dtrace support,50# and mustn't be otherwise.51MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE)5253VERSION = debug54SYSDEFS += -DASSERT55PICFLAGS = DEFAULT565758