1/* Dwarf2 assembler output helper routines. 2 Copyright (C) 2001-2015 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify it under 7the terms of the GNU General Public License as published by the Free 8Software Foundation; either version 3, or (at your option) any later 9version. 10 11GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12WARRANTY; without even the implied warranty of MERCHANTABILITY or 13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14for more details. 15 16You should have received a copy of the GNU General Public License 17along with GCC; see the file COPYING3. If not see 18<http://www.gnu.org/licenses/>. */ 19 20#ifndef GCC_DWARF2ASM_H 21#define GCC_DWARF2ASM_H 22 23extern void dw2_assemble_integer (int, rtx); 24 25extern void dw2_asm_output_data_raw (int, unsigned HOST_WIDE_INT); 26 27extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT, 28 const char *, ...) 29 ATTRIBUTE_NULL_PRINTF_3; 30 31extern void dw2_asm_output_delta (int, const char *, const char *, 32 const char *, ...) 33 ATTRIBUTE_NULL_PRINTF_4; 34 35extern void dw2_asm_output_vms_delta (int, const char *, const char *, 36 const char *, ...) 37 ATTRIBUTE_NULL_PRINTF_4; 38 39extern void dw2_asm_output_offset (int, const char *, section *, 40 const char *, ...) 41 ATTRIBUTE_NULL_PRINTF_4; 42 43extern void dw2_asm_output_addr (int, const char *, const char *, ...) 44 ATTRIBUTE_NULL_PRINTF_3; 45 46extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...) 47 ATTRIBUTE_NULL_PRINTF_3; 48 49extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool, 50 const char *, ...) 51 ATTRIBUTE_NULL_PRINTF_4; 52 53extern void dw2_asm_output_nstring (const char *, size_t, 54 const char *, ...) 55 ATTRIBUTE_NULL_PRINTF_3; 56 57extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT); 58 59extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT, 60 const char *, ...) 61 ATTRIBUTE_NULL_PRINTF_2; 62 63extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT); 64 65extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT, 66 const char *, ...) 67 ATTRIBUTE_NULL_PRINTF_2; 68 69extern void dw2_asm_output_delta_uleb128 (const char *, const char *, 70 const char *, ...) 71 ATTRIBUTE_NULL_PRINTF_3; 72 73extern int size_of_uleb128 (unsigned HOST_WIDE_INT); 74extern int size_of_sleb128 (HOST_WIDE_INT); 75extern int size_of_encoded_value (int); 76extern const char *eh_data_format_name (int); 77 78extern rtx dw2_force_const_mem (rtx, bool); 79extern void dw2_output_indirect_constants (void); 80 81/* These are currently unused. */ 82 83#if 0 84extern void dw2_asm_output_pcrel (int, const char *, const char *, ...) 85 ATTRIBUTE_NULL_PRINTF_3; 86 87extern void dw2_asm_output_delta_sleb128 (const char *, const char *, 88 const char *, ...) 89 ATTRIBUTE_NULL_PRINTF_3; 90#endif 91 92#endif /* GCC_DWARF2ASM_H */ 93