emit a 0 byte instead of a noop if a function is empty on darwin.
authorChris Lattner <sabre@nondot.org>
Thu, 28 Jan 2010 01:06:32 +0000 (01:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 28 Jan 2010 01:06:32 +0000 (01:06 +0000)
commit10e7c60c0444a766c256f6c7c922e43963590a5c
treedc15d1025ebe86cb02972b19d3808bbf37230d8b
parent14c38ec2afeaf25c53a50c2c65116aca8c889401
emit a 0 byte instead of a noop if a function is empty on darwin.
"0" is nice and target independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/2008-01-25-EmptyFunction.ll