Eliminate SetDirective, and replace it with HasSetDirective.
authorChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 20:40:54 +0000 (20:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Jan 2010 20:40:54 +0000 (20:40 +0000)
commitcee63322eaccc2f1067bdf5eab506e440f867da1
tree940f80c27df82f5e4ccba4a33aa3b72d90f357fa
parent2a531673b95639174da449402f6609e7d5a14d2d
Eliminate SetDirective, and replace it with HasSetDirective.
Default HasSetDirective to true, since most targets have it.

The targets that claim to not have it probably do, or it is
spelled differently. These include Blackfin, Mips, Alpha, and
PIC16.  All of these except pic16 are normal ELF targets, so
they almost certainly have it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94585 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoCOFF.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/Target/ARM/ARMMCAsmInfo.cpp
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
lib/Target/Alpha/AlphaMCAsmInfo.cpp
lib/Target/Blackfin/BlackfinMCAsmInfo.cpp
lib/Target/CellSPU/SPUMCAsmInfo.cpp
lib/Target/MSP430/MSP430MCAsmInfo.cpp
lib/Target/Mips/MipsMCAsmInfo.cpp
lib/Target/PIC16/PIC16MCAsmInfo.cpp
lib/Target/PowerPC/PPCMCAsmInfo.cpp
lib/Target/Sparc/SparcMCAsmInfo.cpp
lib/Target/SystemZ/SystemZMCAsmInfo.cpp
lib/Target/X86/X86MCAsmInfo.cpp
lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
lib/Target/XCore/XCoreMCAsmInfo.cpp