make/hotspot/lib/CompileJvm.gmk
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 54490 bf07e140c49c
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
    44 JVM_LDFLAGS += \
    44 JVM_LDFLAGS += \
    45     $(SHARED_LIBRARY_FLAGS) \
    45     $(SHARED_LIBRARY_FLAGS) \
    46     $(JVM_LDFLAGS_FEATURES) \
    46     $(JVM_LDFLAGS_FEATURES) \
    47     $(EXTRA_LDFLAGS) \
    47     $(EXTRA_LDFLAGS) \
    48     #
    48     #
       
    49 
       
    50 JVM_ASFLAGS += $(EXTRA_ASFLAGS)
    49 
    51 
    50 JVM_LIBS += \
    52 JVM_LIBS += \
    51     $(JVM_LIBS_FEATURES) \
    53     $(JVM_LIBS_FEATURES) \
    52     #
    54     #
    53 
    55 
    93 
    95 
    94 DISABLED_WARNINGS_solstudio := labelnotused hidef w_novirtualdescr inlafteruse \
    96 DISABLED_WARNINGS_solstudio := labelnotused hidef w_novirtualdescr inlafteruse \
    95     unknownpragma doubunder w_enumnotused w_toomanyenumnotused \
    97     unknownpragma doubunder w_enumnotused w_toomanyenumnotused \
    96     wvarhidenmem wunreachable wnoretvalue notemsource
    98     wvarhidenmem wunreachable wnoretvalue notemsource
    97 
    99 
    98 DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 1540-1088 \
   100 DISABLED_WARNINGS_xlc := tautological-compare shift-negative-value
    99     1500-010
       
   100 
   101 
   101 DISABLED_WARNINGS_microsoft :=
   102 DISABLED_WARNINGS_microsoft :=
   102 
   103 
   103 
   104 
   104 
   105 
   258 # -S print source code, intermixed with disassembly
   259 # -S print source code, intermixed with disassembly
   259 # -l include filenames and line numbers
   260 # -l include filenames and line numbers
   260 #
   261 #
   261 # Search the output for the operator(s) of interest, to see where they are
   262 # Search the output for the operator(s) of interest, to see where they are
   262 # referenced.
   263 # referenced.
       
   264 #
       
   265 # When a reference to the global 'operator delete' is reported, it might be
       
   266 # due to a "deleting destructor".  In this case, objdump may show the
       
   267 # reference to be associated with but not actually in a destructor.  A
       
   268 # deleting destructor is automatically generated for a class whose destructor
       
   269 # is virtual.  A deleting destructor requires an accessible 'operator delete'
       
   270 # for the associated class.  If the class doesn't provide a more specific
       
   271 # declaration (either directly or by inheriting from a class that provides
       
   272 # one) then the global definition will be used, triggering this check.
   263 
   273 
   264 ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
   274 ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
   265   ifneq ($(filter $(TOOLCHAIN_TYPE), gcc clang solstudio), )
   275   ifneq ($(filter $(TOOLCHAIN_TYPE), gcc clang solstudio), )
   266 
   276 
   267     DEMANGLED_REGEXP := [^:]operator (new|delete)
   277     DEMANGLED_REGEXP := [^:]operator (new|delete)