Mercurial > hg > graal-compiler
comparison make/solaris/makefiles/sparcWorks.make @ 6020:d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files.
Reviewed-by: dholmes, ohair, sspitsyn
author | dcubed |
---|---|
date | Fri, 23 Mar 2012 11:50:33 -0700 |
parents | 719f7007c8e8 |
children | 74c359c4a9e5 |
comparison
equal
deleted
inserted
replaced
4958:3b24e7e01d20 | 6020:d652a62d6e03 |
---|---|
1 # | 1 # |
2 # Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
482 | 482 |
483 # Flags for Debugging | 483 # Flags for Debugging |
484 # The -g0 setting allows the C++ frontend to inline, which is a big win. | 484 # The -g0 setting allows the C++ frontend to inline, which is a big win. |
485 # The -xs setting disables 'lazy debug info' which puts everything in | 485 # The -xs setting disables 'lazy debug info' which puts everything in |
486 # the .so instead of requiring the '.o' files. | 486 # the .so instead of requiring the '.o' files. |
487 ifneq ($(OBJCOPY),) | 487 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
488 OPT_CFLAGS += -g0 -xs | 488 OPT_CFLAGS += -g0 -xs |
489 endif | 489 endif |
490 DEBUG_CFLAGS = -g | 490 DEBUG_CFLAGS = -g |
491 FASTDEBUG_CFLAGS = -g0 | 491 FASTDEBUG_CFLAGS = -g0 |
492 ifneq ($(OBJCOPY),) | 492 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
493 DEBUG_CFLAGS += -xs | 493 DEBUG_CFLAGS += -xs |
494 FASTDEBUG_CFLAGS += -xs | 494 FASTDEBUG_CFLAGS += -xs |
495 endif | 495 endif |
496 | 496 |
497 # Special global options for SS12 | 497 # Special global options for SS12 |