| OLD | NEW |
| 1 //===-- X86MCAsmInfo.cpp - X86 asm properties -----------------------------===// | 1 //===-- X86MCAsmInfo.cpp - X86 asm properties -----------------------------===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file contains the declarations of the X86MCAsmInfo properties. | 10 // This file contains the declarations of the X86MCAsmInfo properties. |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 HasLEB128 = true; // Target asm supports leb128 directives (little-endian) | 97 HasLEB128 = true; // Target asm supports leb128 directives (little-endian) |
| 98 | 98 |
| 99 // Debug Information | 99 // Debug Information |
| 100 SupportsDebugInformation = true; | 100 SupportsDebugInformation = true; |
| 101 | 101 |
| 102 // Exceptions handling | 102 // Exceptions handling |
| 103 ExceptionsType = ExceptionHandling::DwarfCFI; | 103 ExceptionsType = ExceptionHandling::DwarfCFI; |
| 104 | 104 |
| 105 // OpenBSD has buggy support for .quad in 32-bit mode, just split into two | 105 // OpenBSD has buggy support for .quad in 32-bit mode, just split into two |
| 106 // .words. | 106 // .words. |
| 107 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) | 107 if (T.isOSOpenBSD() && T.getArch() == Triple::x86) |
| 108 Data64bitsDirective = 0; | 108 Data64bitsDirective = 0; |
| 109 } | 109 } |
| 110 | 110 |
| 111 const MCExpr * | 111 const MCExpr * |
| 112 X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol(const MCSymbol *Sym, | 112 X86_64MCAsmInfoDarwin::getExprForPersonalitySymbol(const MCSymbol *Sym, |
| 113 unsigned Encoding, | 113 unsigned Encoding, |
| 114 MCStreamer &Streamer) const { | 114 MCStreamer &Streamer) const { |
| 115 MCContext &Context = Streamer.getContext(); | 115 MCContext &Context = Streamer.getContext(); |
| 116 const MCExpr *Res = | 116 const MCExpr *Res = |
| 117 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Context); | 117 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Context); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 129 if (Triple.getArch() == Triple::x86_64) { | 129 if (Triple.getArch() == Triple::x86_64) { |
| 130 GlobalPrefix = ""; | 130 GlobalPrefix = ""; |
| 131 PrivateGlobalPrefix = ".L"; | 131 PrivateGlobalPrefix = ".L"; |
| 132 } | 132 } |
| 133 | 133 |
| 134 AsmTransCBE = x86_asm_table; | 134 AsmTransCBE = x86_asm_table; |
| 135 AssemblerDialect = AsmWriterFlavor; | 135 AssemblerDialect = AsmWriterFlavor; |
| 136 | 136 |
| 137 TextAlignFillValue = 0x90; | 137 TextAlignFillValue = 0x90; |
| 138 } | 138 } |
| OLD | NEW |