[PATCH] D11815: Pass subtarget feature "force-align-stack"

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 28 13:10:53 PDT 2015


ahatanak updated this revision to Diff 33456.
ahatanak added a comment.

This updated patch changes the handling of driver option -mstackrealign/-mno-stackrealign. -mno-stackrealign no longer indicates stack realignment should be disallowed and clang no longer attaches function attribute "no-realign-stack". The option is only used to cancel -mstackrealign on the command line. The cc1 option "-mstackrealign" now means "force stack realignment" rather than "allow stack realignment" and causes function attribute "stackrealign" to be attached to the functions in the IR.


http://reviews.llvm.org/D11815

Files:
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/CGCall.cpp
  lib/Driver/Tools.cpp
  test/CodeGen/stackrealign.c
  test/Driver/rewrite-legacy-objc.m
  test/Driver/rewrite-objc.m
  test/Driver/stackrealign.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11815.33456.patch
Type: text/x-patch
Size: 6707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150828/a454d097/attachment.bin>


More information about the cfe-commits mailing list