| commit | c4b1d20ba2952e1699ec5c44dd532fa8e9bf042c | [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 | eca5d64e9c70e9dd6885eefe355720a4a09ad88b | |
| parent | 0201a9e94e3e95baf0e2d818e79c3f63b8fef558 [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 llvm-svn: 282185