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