Saleem Abdulrasool
ec3e0eab85
test: adjust test for ce6ae0b2a26b1ec2f770b2b9474cc4486d60c586
...
clang will no longer emit the `"frame-pointer"="none"` in IR to reduce
the IR traffic. Adjust expectations accordingly.
2023-09-15 11:13:49 -07:00
Arnold Schwaighofer
0e2dcbc6c2
[rebranch] Fix test framepointer.sil
...
The clang frontend's -fomit-frame-pointer no longer leads to
frame-pointer=none.
rdar://113587053
2023-08-09 08:41:04 -07:00
Saleem Abdulrasool
14dd90953b
test: repair the test after accidental merge without testing
2020-06-03 12:12:50 -07:00
Arnold Schwaighofer
20f4ef93de
IRGen: Default to clang's frame pointer elimination settings
...
Clang provides options to override that default value.
These options are accessible via the -Xcc flag.
Some Swift functions explicitly disable the frame pointer.
The clang options will not override those.
2020-05-28 12:21:42 -07:00
Arnold Schwaighofer
617f1c3ac9
Only use omit the frame pointer on arm64, x86_64 darwin needs it for some its tools
2020-05-22 12:24:23 -07:00
Arnold Schwaighofer
109813ffe5
Add option to disable leaf frame pointer elimination
2020-05-21 13:19:24 -07:00
Arnold Schwaighofer
e155f03e0d
IRGen: Always eliminate frame pointers of leaf functions
...
rdar://20933449
2020-05-21 13:18:57 -07:00