Remove comments which don't add much to .s readibility.
[llvm/avr.git] / lib / Target / ARM / ARMMCAsmInfo.cpp
blob0ff65d2af88b86002430662ca01aa2ec5717348a
1 //===-- ARMMCAsmInfo.cpp - ARM asm properties -------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the ARMMCAsmInfo properties.
12 //===----------------------------------------------------------------------===//
14 #include "ARMMCAsmInfo.h"
15 using namespace llvm;
17 static const char *const arm_asm_table[] = {
18 "{r0}", "r0",
19 "{r1}", "r1",
20 "{r2}", "r2",
21 "{r3}", "r3",
22 "{r4}", "r4",
23 "{r5}", "r5",
24 "{r6}", "r6",
25 "{r7}", "r7",
26 "{r8}", "r8",
27 "{r9}", "r9",
28 "{r10}", "r10",
29 "{r11}", "r11",
30 "{r12}", "r12",
31 "{r13}", "r13",
32 "{r14}", "r14",
33 "{lr}", "lr",
34 "{sp}", "sp",
35 "{ip}", "ip",
36 "{fp}", "fp",
37 "{sl}", "sl",
38 "{memory}", "memory",
39 "{cc}", "cc",
40 0,0
43 ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin() {
44 AsmTransCBE = arm_asm_table;
45 Data64bitsDirective = 0;
46 CommentString = "@";
47 COMMDirectiveTakesAlignment = false;
48 SupportsDebugInformation = true;
50 // Exceptions handling
51 ExceptionsType = ExceptionHandling::SjLj;
52 AbsoluteEHSectionOffsets = false;
55 ARMELFMCAsmInfo::ARMELFMCAsmInfo() {
56 AlignmentIsInBytes = false;
57 Data64bitsDirective = 0;
58 CommentString = "@";
59 COMMDirectiveTakesAlignment = false;
61 NeedsSet = false;
62 HasLEB128 = true;
63 AbsoluteDebugSectionOffsets = true;
64 PrivateGlobalPrefix = ".L";
65 WeakRefDirective = "\t.weak\t";
66 SetDirective = "\t.set\t";
67 LCOMMDirective = "\t.lcomm\t";
69 DwarfRequiresFrameSection = false;
71 SupportsDebugInformation = true;