]> granicus.if.org Git - clang/commit
Driver: follow WoA ABI recommendations
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 3 Oct 2015 03:39:28 +0000 (03:39 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 3 Oct 2015 03:39:28 +0000 (03:39 +0000)
commita049f0b61070cf7780ecee2f092f675c315439e8
treea5aabd9ae073ef6c7a4b5772589b667598baca5c
parent892c56b8de93fb0ee1334185f1f16a1e819bbbdc
Driver: follow WoA ABI recommendations

The Windows on ARM ABI recommends that FPO be disabled.  This is since the
Windows on ARM ABI uses the FP for fast stack walking.  By paying the slight
cost of the loss of registers, a much faster backtrace is possible by using the
frame pointer since the pdata need not be consulted.  Furthermore, even if pdata
is not available, you can still more easily reconstruct the stack.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249227 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/woa-fp.c [new file with mode: 0644]