mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 18:19:54 +02:00
* don't omit stack frame generation when generating gprof information, as
mcount expects the frame pointer to be valid git-svn-id: trunk@24642 -
This commit is contained in:
parent
35939ff0a9
commit
a1bc04bbb3
@ -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]+
|
||||
|
Loading…
Reference in New Issue
Block a user