[PATCH] D40864: [Darwin] Add a new -mstack-probe option and enable by default

Amara Emerson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 15:07:42 PST 2017


aemerson created this revision.

Add a new -mstack-probe and -mno-stack-probe option to enable the generation of stack probing functions on non-Windows platforms, if supported. This patch only enables this for Darwin.


Repository:
  rC Clang

https://reviews.llvm.org/D40864

Files:
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/BackendUtil.cpp
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/generic-stack-probe.c
  test/Driver/rewrite-legacy-objc.m
  test/Driver/rewrite-objc.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40864.125628.patch
Type: text/x-patch
Size: 7167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/97147b57/attachment.bin>


More information about the cfe-commits mailing list