aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-11 22:31:42 +0000
committerChris Lattner <sabre@nondot.org>2009-08-11 22:31:42 +0000
commite28a2e8b70e926324575ddec0a1565c6dba7d404 (patch)
treea6903d6001a6e72c8213a4d7cd98bae3dfe0c3cc /lib/Target/X86/X86TargetAsmInfo.cpp
parent0c420fc20adc7db2b08065923d13194cf42094f3 (diff)
factorize more darwin TAI stuff. Note that this gives
darwin/arm support for .no_dead_strip git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r--lib/Target/X86/X86TargetAsmInfo.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp
index 53533ace96..a07b2cc2b5 100644
--- a/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -45,7 +45,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM) {
const X86Subtarget *Subtarget = &TM.getSubtarget<X86Subtarget>();
bool is64Bit = Subtarget->is64Bit();
- AlignmentIsInBytes = false;
TextAlignFillValue = 0x90;
if (!is64Bit)
@@ -53,7 +52,6 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM) {
// Leopard and above support aligned common symbols.
COMMDirectiveTakesAlignment = (Subtarget->getDarwinVers() >= 9);
- HasDotTypeDotSizeDirective = false;
if (is64Bit) {
PersonalityPrefix = "";
@@ -67,16 +65,12 @@ X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo(const X86TargetMachine &TM) {
InlineAsmEnd = "## InlineAsm End";
CommentString = "##";
PCSymbol = ".";
- UsedDirective = "\t.no_dead_strip\t";
- ProtectedDirective = "\t.globl\t";
SupportsDebugInformation = true;
DwarfUsesInlineInfoSection = true;
// Exceptions handling
ExceptionsType = ExceptionHandling::Dwarf;
- GlobalEHDirective = "\t.globl\t";
- SupportsWeakOmittedEHFrame = false;
AbsoluteEHSectionOffsets = false;
}