Skip to content

Conversation

@stuij
Copy link
Member

@stuij stuij commented Jan 14, 2025

As per #117140.

@stuij stuij requested review from DavidSpickett and asb January 14, 2025 10:08
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Jan 14, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 14, 2025

@llvm/pr-subscribers-clang

Author: Ties Stuij (stuij)

Changes

As per #117140.


Full diff: https://github.com/llvm/llvm-project/pull/122881.diff

1 Files Affected:

  • (modified) clang/docs/ReleaseNotes.rst (+2)
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 794943b24a003c..663e7561f715c0 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -1076,6 +1076,8 @@ Arm and AArch64 Support
   in leaf functions after enabling ``-fno-omit-frame-pointer``, you can do so by adding
   the ``-momit-leaf-frame-pointer`` option.
 
+- For ARM baremetal targets, the frame pointer (FP) is now turned off by default.
+
 - Support has been added for the following processors (-mcpu identifiers in parenthesis):
 
   For AArch64:

in leaf functions after enabling ``-fno-omit-frame-pointer``, you can do so by adding
the ``-momit-leaf-frame-pointer`` option.

- For ARM baremetal targets, the frame pointer (FP) is now turned off by default.
Copy link
Collaborator

@DavidSpickett DavidSpickett Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move this before the one above and add to this "To enable the frame pointer use the -fno-omit-frame-pointer option.". I know it's stated again in the second one, but it answers the "how do I get the old way" question more obviously.

If I am not someone who ever cared to disable FP, I won't understand / care to understand what the leaf function stuff means.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Extensions (ACLE) is now available.

- For ARM baremetal targets, the frame pointer (FP) is now turned off by
default. To turn on frame pointers for Arm baremetal targets, use
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arm -> ARM

Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants