diff options
author | Haojian Wu <hokein.wu@gmail.com> | 2024-06-07 12:49:01 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2024-06-07 12:49:41 +0200 |
commit | 6fe5428ecbd18aa263417a244c0850b1271617c0 (patch) | |
tree | 811b7d042023ac537e52c5b02e3418a8614cbbe1 | |
parent | d3e531cf37ed5334aa873e4e46aff693efac9d77 (diff) | |
download | llvm-6fe5428ecbd18aa263417a244c0850b1271617c0.zip llvm-6fe5428ecbd18aa263417a244c0850b1271617c0.tar.gz llvm-6fe5428ecbd18aa263417a244c0850b1271617c0.tar.bz2 |
[Flang] Handle the newly-added "Reserved" FramePointerKind for 1a5239251ead73ee57f4e2f7fc93433ac7cf18b1
-rw-r--r-- | clang/lib/Driver/ToolChains/Flang.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains/Flang.cpp b/clang/lib/Driver/ToolChains/Flang.cpp index 9609a1d..42b45db 100644 --- a/clang/lib/Driver/ToolChains/Flang.cpp +++ b/clang/lib/Driver/ToolChains/Flang.cpp @@ -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; |