Don't bother setting JumpTableTextSection, it is about to disappear
[oota-llvm.git] / lib / Target / TargetAsmInfo.cpp
1 //===-- TargetAsmInfo.cpp - Asm Info ---------------------------------------==//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by James M. Laskey and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines target asm properties related what form asm statements
11 // should take.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #include "llvm/Target/TargetAsmInfo.h"
16
17 using namespace llvm;
18
19 TargetAsmInfo::TargetAsmInfo() :
20   TextSection(".text"),
21   DataSection(".data"),
22   AddressSize(4),
23   NeedsSet(false),
24   CommentString("#"),
25   GlobalPrefix(""),
26   PrivateGlobalPrefix("."),
27   GlobalVarAddrPrefix(""),
28   GlobalVarAddrSuffix(""),
29   FunctionAddrPrefix(""),
30   FunctionAddrSuffix(""),
31   InlineAsmStart("#APP"),
32   InlineAsmEnd("#NO_APP"),
33   ZeroDirective("\t.zero\t"),
34   ZeroDirectiveSuffix(0),
35   AsciiDirective("\t.ascii\t"),
36   AscizDirective("\t.asciz\t"),
37   Data8bitsDirective("\t.byte\t"),
38   Data16bitsDirective("\t.short\t"),
39   Data32bitsDirective("\t.long\t"),
40   Data64bitsDirective("\t.quad\t"),
41   AlignDirective("\t.align\t"),
42   AlignmentIsInBytes(true),
43   SwitchToSectionDirective("\t.section\t"),
44   TextSectionStartSuffix(""),
45   DataSectionStartSuffix(""),
46   SectionEndDirectiveSuffix(0),
47   ConstantPoolSection("\t.section .rodata\n"),
48   JumpTableDataSection("\t.section .rodata\n"),
49   JumpTableDirective(0),
50   StaticCtorsSection("\t.section .ctors,\"aw\",@progbits"),
51   StaticDtorsSection("\t.section .dtors,\"aw\",@progbits"),
52   FourByteConstantSection(0),
53   EightByteConstantSection(0),
54   SixteenByteConstantSection(0),
55   SetDirective(0),
56   LCOMMDirective(0),
57   COMMDirective("\t.comm\t"),
58   COMMDirectiveTakesAlignment(true),
59   HasDotTypeDotSizeDirective(true),
60   UsedDirective(0),
61   HasLEB128(false),
62   HasDotLoc(false),
63   HasDotFile(false),
64   DwarfAbbrevSection(".debug_abbrev"),
65   DwarfInfoSection(".debug_info"),
66   DwarfLineSection(".debug_line"),
67   DwarfFrameSection(".debug_frame"),
68   DwarfPubNamesSection(".debug_pubnames"),
69   DwarfPubTypesSection(".debug_pubtypes"),
70   DwarfStrSection(".debug_str"),
71   DwarfLocSection(".debug_loc"),
72   DwarfARangesSection(".debug_aranges"),
73   DwarfRangesSection(".debug_ranges"),
74   DwarfMacInfoSection(".debug_macinfo")
75 {}
76
77 TargetAsmInfo::~TargetAsmInfo() {
78 }