[llvm] Add STACK_SIZES section for MachOS. (PR #77106)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 07:59:30 PST 2024


jroelofs wrote:

Please add a test that checks for the presence and contents of the new section on a Mach-O target.

A good starting point is `llvm/test/CodeGen/ARM/stack-size-section.ll`... maybe add another one for `arm64-apple-ios`. I'd also recommend using the `llvm/utils/update_llc_test_checks.py` script to write the checks, which wasn't a thing when that test was originally written.

https://github.com/llvm/llvm-project/pull/77106


More information about the llvm-commits mailing list