]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/dwarf2asm.h
2019-04-15 Richard Biener <rguenther@suse.de>
[thirdparty/gcc.git] / gcc / dwarf2asm.h
CommitLineData
ca98eb0a 1/* Dwarf2 assembler output helper routines.
fbd26352 2 Copyright (C) 2001-2019 Free Software Foundation, Inc.
ca98eb0a 3
f12b58b3 4This file is part of GCC.
ca98eb0a 5
f12b58b3 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
8c4c00c1 8Software Foundation; either version 3, or (at your option) any later
f12b58b3 9version.
ca98eb0a 10
f12b58b3 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.
ca98eb0a 15
16You should have received a copy of the GNU General Public License
8c4c00c1 17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
ca98eb0a 19
ce6bb0f3 20#ifndef GCC_DWARF2ASM_H
21#define GCC_DWARF2ASM_H
ca98eb0a 22
5a2784f8 23extern void dw2_assemble_integer (int, rtx);
58356836 24
fb39ff6e 25extern void dw2_asm_output_data_raw (int, unsigned HOST_WIDE_INT);
26
5a2784f8 27extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT,
28 const char *, ...)
06df7294 29 ATTRIBUTE_NULL_PRINTF_3;
ca98eb0a 30
5a2784f8 31extern void dw2_asm_output_delta (int, const char *, const char *,
32 const char *, ...)
06df7294 33 ATTRIBUTE_NULL_PRINTF_4;
ca98eb0a 34
cfe7b52e 35extern void dw2_asm_output_vms_delta (int, const char *, const char *,
36 const char *, ...)
37 ATTRIBUTE_NULL_PRINTF_4;
38
48e1416a 39extern void dw2_asm_output_offset (int, const char *, section *,
d08d29c0 40 const char *, ...)
41 ATTRIBUTE_NULL_PRINTF_4;
ca98eb0a 42
e1719e76 43extern void dw2_asm_output_offset (int, const char *, HOST_WIDE_INT,
44 section *, const char *, ...)
45 ATTRIBUTE_NULL_PRINTF_5;
46
5a2784f8 47extern void dw2_asm_output_addr (int, const char *, const char *, ...)
06df7294 48 ATTRIBUTE_NULL_PRINTF_3;
19e5668c 49
5a2784f8 50extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
06df7294 51 ATTRIBUTE_NULL_PRINTF_3;
ca98eb0a 52
42e07529 53extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
5a2784f8 54 const char *, ...)
42e07529 55 ATTRIBUTE_NULL_PRINTF_4;
ad5818ae 56
5a2784f8 57extern void dw2_asm_output_nstring (const char *, size_t,
58 const char *, ...)
06df7294 59 ATTRIBUTE_NULL_PRINTF_3;
ca98eb0a 60
fb39ff6e 61extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT);
62
5a2784f8 63extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT,
64 const char *, ...)
06df7294 65 ATTRIBUTE_NULL_PRINTF_2;
ca98eb0a 66
fb39ff6e 67extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT);
68
5a2784f8 69extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT,
70 const char *, ...)
06df7294 71 ATTRIBUTE_NULL_PRINTF_2;
ca98eb0a 72
7b0db09c 73extern void dw2_asm_output_symname_uleb128 (const char *,
74 const char *, ...)
75 ATTRIBUTE_NULL_PRINTF_2;
76
5a2784f8 77extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
78 const char *, ...)
06df7294 79 ATTRIBUTE_NULL_PRINTF_3;
ca98eb0a 80
5a2784f8 81extern int size_of_uleb128 (unsigned HOST_WIDE_INT);
82extern int size_of_sleb128 (HOST_WIDE_INT);
83extern int size_of_encoded_value (int);
84extern const char *eh_data_format_name (int);
ad5818ae 85
fb39ff6e 86extern rtx dw2_force_const_mem (rtx, bool);
5a2784f8 87extern void dw2_output_indirect_constants (void);
31ac8297 88
89/* These are currently unused. */
90
91#if 0
92extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
93 ATTRIBUTE_NULL_PRINTF_3;
94
95extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
96 const char *, ...)
97 ATTRIBUTE_NULL_PRINTF_3;
98#endif
ce6bb0f3 99
100#endif /* GCC_DWARF2ASM_H */