source: mainline/kernel/generic/include/debug/names.h

Last change on this file was 1170cfc7, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 20 months ago

Remove include sorcery from DWARF constant definitions

Also add a bunch of missing constants.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1/*
2 * Copyright (c) 2023 Jiří Zárevúcky
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * - Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * - Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * - The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef DEBUG_DWARF_NAMES_H_
30#define DEBUG_DWARF_NAMES_H_
31
32#include <debug/types.h>
33
34extern const char *dw_access_name(dw_access_t);
35extern const char *dw_at_name(dw_at_t);
36extern const char *dw_ate_name(dw_ate_t);
37extern const char *dw_cc_name(dw_cc_t);
38extern const char *dw_cfa_name(dw_cfa_t);
39extern const char *dw_defaulted_name(dw_defaulted_t);
40extern const char *dw_ds_name(dw_ds_t);
41extern const char *dw_dsc_name(dw_dsc_t);
42extern const char *dw_end_name(dw_end_t);
43extern const char *dw_form_name(dw_form_t);
44extern const char *dw_id_name(dw_id_t);
45extern const char *dw_idx_name(dw_idx_t);
46extern const char *dw_inl_name(dw_inl_t);
47extern const char *dw_lang_name(dw_lang_t);
48extern const char *dw_lle_name(dw_lle_t);
49extern const char *dw_lnct_name(dw_lnct_t);
50extern const char *dw_lne_name(dw_lne_t);
51extern const char *dw_lns_name(dw_lns_t);
52extern const char *dw_macro_name(dw_macro_t);
53extern const char *dw_op_name(dw_op_t);
54extern const char *dw_ord_name(dw_ord_t);
55extern const char *dw_rle_name(dw_rle_t);
56extern const char *dw_tag_name(dw_tag_t);
57extern const char *dw_ut_name(dw_ut_t);
58extern const char *dw_virtuality_name(dw_virtuality_t);
59extern const char *dw_vis_name(dw_vis_t);
60
61#endif /* DEBUG_DWARF_NAMES_H_ */
Note: See TracBrowser for help on using the repository browser.