simplify EmitSectionOffset to always use .set if it is
authorChris Lattner <sabre@nondot.org>
Mon, 8 Mar 2010 23:23:25 +0000 (23:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Mar 2010 23:23:25 +0000 (23:23 +0000)
commit57578766aa33d1a22cd124316df318db3e44f34a
tree8723353009d053edbed7467d873f9d355872b1ca
parent82f05078b08f086b868e096ff0bb89324ca5c1d5
simplify EmitSectionOffset to always use .set if it is
available, the only thing this affects is that we produce
.set in one case we didn't before, which shouldn't harm
anything.  Make EmitSectionOffset call EmitDifference
instead of duplicating it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98005 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DIE.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.h
test/CodeGen/X86/aliases.ll