dwarf2asm.h 3.1 KB

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