commit | c01810eeb7227010f73cb39e3c4fa0197a3c4ef0 | [log] [tgz] |
---|---|---|
author | Jim Grosbach <grosbach@apple.com> | Tue Feb 28 23:53:30 2012 +0000 |
committer | Jim Grosbach <grosbach@apple.com> | Tue Feb 28 23:53:30 2012 +0000 |
tree | 10b49a3600d9b9c798d9679ca3300348ac7eb606 | |
parent | b62fbc5e469f532fd1747a3c24115fb1d0ba792f [diff] |
ARM implement TargetInstrInfo::getNoopForMachoTarget() Without this hook, functions w/ a completely empty body (including no epilogue) will cause an MCEmitter assertion failure. For example, define internal fastcc void @empty_function() { unreachable } rdar://10947471 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151673 91177308-0d34-0410-b5e6-96231b3b80d8