dwarf2asm.h 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* Dwarf2 assembler output helper routines.
  2. Copyright (C) 2001-2015 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_addr (int, const char *, const char *, ...)
  32. ATTRIBUTE_NULL_PRINTF_3;
  33. extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
  34. ATTRIBUTE_NULL_PRINTF_3;
  35. extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
  36. const char *, ...)
  37. ATTRIBUTE_NULL_PRINTF_4;
  38. extern void dw2_asm_output_nstring (const char *, size_t,
  39. const char *, ...)
  40. ATTRIBUTE_NULL_PRINTF_3;
  41. extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT);
  42. extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT,
  43. const char *, ...)
  44. ATTRIBUTE_NULL_PRINTF_2;
  45. extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT);
  46. extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT,
  47. const char *, ...)
  48. ATTRIBUTE_NULL_PRINTF_2;
  49. extern void dw2_asm_output_delta_uleb128 (const char *, const char *,
  50. const char *, ...)
  51. ATTRIBUTE_NULL_PRINTF_3;
  52. extern int size_of_uleb128 (unsigned HOST_WIDE_INT);
  53. extern int size_of_sleb128 (HOST_WIDE_INT);
  54. extern int size_of_encoded_value (int);
  55. extern const char *eh_data_format_name (int);
  56. extern rtx dw2_force_const_mem (rtx, bool);
  57. extern void dw2_output_indirect_constants (void);
  58. /* These are currently unused. */
  59. #if 0
  60. extern void dw2_asm_output_pcrel (int, const char *, const char *, ...)
  61. ATTRIBUTE_NULL_PRINTF_3;
  62. extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
  63. const char *, ...)
  64. ATTRIBUTE_NULL_PRINTF_3;
  65. #endif
  66. #endif /* GCC_DWARF2ASM_H */