[Flang] Handle the newly-added "Reserved" FramePointerKind for 1a5239251e

This commit is contained in:
Haojian Wu
2024-06-07 12:49:01 +02:00
parent d3e531cf37
commit 6fe5428ecb

View File

@@ -802,6 +802,9 @@ void Flang::ConstructJob(Compilation &C, const JobAction &JA,
case CodeGenOptions::FramePointerKind::None:
FPKeepKindStr = "-mframe-pointer=none";
break;
case CodeGenOptions::FramePointerKind::Reserved:
FPKeepKindStr = "-mframe-pointer=reserved";
break;
case CodeGenOptions::FramePointerKind::NonLeaf:
FPKeepKindStr = "-mframe-pointer=non-leaf";
break;