diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-17 22:57:27 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-17 22:57:27 +0000 |
commit | 06df7294eca0ec67080707be91f8753f15bc4e6c (patch) | |
tree | f8eebb237a7df33aff85f0a6d32405d2ea65a589 /gcc/dwarf2asm.h | |
parent | 4124ea8b95fc038dd73c353e2350df0f134e27f4 (diff) | |
download | gcc-06df7294eca0ec67080707be91f8753f15bc4e6c.tar.gz |
include:
* ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
ATTRIBUTE_NULL_PRINTF_5): New.
(ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.
gcc:
* dwarf2asm.h: Delete obsolete comment.
(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
dw2_asm_output_pcrel, dw2_asm_output_addr,
dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64505 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2asm.h')
-rw-r--r-- | gcc/dwarf2asm.h | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/gcc/dwarf2asm.h b/gcc/dwarf2asm.h index 859883d45e3..8d6fd18bd89 100644 --- a/gcc/dwarf2asm.h +++ b/gcc/dwarf2asm.h @@ -19,60 +19,56 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* ??? Format checking yields "null format string" warnings, which is - the way these routines are signaled that there is no associated - debug information. So the attributes are commented out. */ - extern void dw2_assemble_integer PARAMS ((int, rtx)); extern void dw2_asm_output_data PARAMS ((int, unsigned HOST_WIDE_INT, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_delta PARAMS ((int, const char *, const char *, const char *, ...)) - /* ATTRIBUTE_PRINTF_4 */; + ATTRIBUTE_NULL_PRINTF_4; extern void dw2_asm_output_offset PARAMS ((int, const char *, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_pcrel PARAMS ((int, const char *, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_addr PARAMS ((int, const char *, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_addr_rtx PARAMS ((int, rtx, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_encoded_addr_rtx PARAMS ((int, rtx, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_nstring PARAMS ((const char *, size_t, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_data_uleb128 PARAMS ((unsigned HOST_WIDE_INT, const char *, ...)) - /* ATTRIBUTE_PRINTF_2 */; + ATTRIBUTE_NULL_PRINTF_2; extern void dw2_asm_output_data_sleb128 PARAMS ((HOST_WIDE_INT, const char *, ...)) - /* ATTRIBUTE_PRINTF_2 */; + ATTRIBUTE_NULL_PRINTF_2; extern void dw2_asm_output_delta_uleb128 PARAMS ((const char *, const char *, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern void dw2_asm_output_delta_sleb128 PARAMS ((const char *, const char *, const char *, ...)) - /* ATTRIBUTE_PRINTF_3 */; + ATTRIBUTE_NULL_PRINTF_3; extern int size_of_uleb128 PARAMS ((unsigned HOST_WIDE_INT)); extern int size_of_sleb128 PARAMS ((HOST_WIDE_INT)); |