commit | ba9e1e6b2565b8ec26203ecd4100927f2b2c9395 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Thu Sep 22 19:50:05 2016 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Thu Sep 22 19:50:05 2016 +0000 |
tree | 222b8e1e3d0043309e9549eb8384f557a932d3f3 | |
parent | 09666276570c2c31f6752a41dd2a16f7c79b5461 [diff] |
Win64: Don't emit unwind info for "leaf" functions (PR30337) According to MSDN (see the PR), functions which don't touch any callee-saved registers (including %rsp) don't need any unwind info. This patch makes LLVM not emit unwind info for such functions, to save binary size. Differential Revision: https://reviews.llvm.org/D24748 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282185 91177308-0d34-0410-b5e6-96231b3b80d8