commit | 1166ce2460d5b47d7f5e1694b6645f0156ca4dfc | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Sat Jun 27 07:52:53 2015 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Sat Jun 27 07:52:53 2015 +0000 |
tree | ede83919e918b7fa32e53aee8b84c2e422976d93 | |
parent | dee1d964f200bc8261173b39d34e675e1a96843a [diff] |
[PruneEH] A naked, noinline function can return via InlineAsm The PruneEH pass tries to annotate functions as 'noreturn' if it doesn't see a ReturnInst. However, a naked function containing inline assembly can contain control flow leaving the function. This fixes PR23971. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240876 91177308-0d34-0410-b5e6-96231b3b80d8