mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 10:09:19 +02:00
* tpsabiehprocinfo.setup_eh must check if really psabieh exception handling should be generated
git-svn-id: branches/debug_eh@41518 -
This commit is contained in:
parent
ded001753d
commit
fb5392573d
@ -387,6 +387,8 @@ implementation
|
||||
procedure tpsabiehprocinfo.setup_eh;
|
||||
var
|
||||
gcc_except_table: tai_section;
|
||||
begin
|
||||
if tf_use_psabieh in target_info.flags then
|
||||
begin
|
||||
CreateExceptionTable:=foreachnode(code,@find_exception_handling,nil);
|
||||
|
||||
@ -423,13 +425,14 @@ implementation
|
||||
OutmostLandingPad.AddAction(nil);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
procedure tpsabiehprocinfo.finish_eh;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
if (tf_use_psabieh in target_info.flags) then
|
||||
if tf_use_psabieh in target_info.flags then
|
||||
begin
|
||||
if pi_has_except_table_data in flags then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user