2
0
Эх сурвалжийг харах

* don't omit stack frame generation when generating gprof information, as
mcount expects the frame pointer to be valid

git-svn-id: trunk@24642 -

Jonas Maebe 12 жил өмнө
parent
commit
a1bc04bbb3
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compiler/psub.pas

+ 1 - 0
compiler/psub.pas

@@ -982,6 +982,7 @@ implementation
                 (tabstractlocalsymtable(procdef.localst).count_locals = 0)) or
                ((cs_opt_stackframe in current_settings.optimizerswitches) and
                 not(cs_generate_stackframes in current_settings.localswitches) and
+                not(cs_profile in current_settings.moduleswitches) and
                 not(po_assembler in procdef.procoptions) and
                 ((flags*([pi_has_assembler_block,pi_is_assembler,
                         pi_has_stackparameter,pi_needs_stackframe]+