mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #63518 from aschwaighofer/frame-pointer-non-leaf
IRGen: Change to using frame-pointer=non-leaf for functions that request no framepointer
This commit is contained in:
@@ -1310,7 +1310,7 @@ bool swift::irgen::shouldRemoveTargetFeature(StringRef feature) {
|
||||
}
|
||||
|
||||
void IRGenModule::setHasNoFramePointer(llvm::AttrBuilder &Attrs) {
|
||||
Attrs.addAttribute("frame-pointer", "none");
|
||||
Attrs.addAttribute("frame-pointer", "non-leaf");
|
||||
}
|
||||
|
||||
void IRGenModule::setHasNoFramePointer(llvm::Function *F) {
|
||||
|
||||
Reference in New Issue
Block a user