// Copyright (c) Meta Platforms, Inc. and affiliates. // SPDX-License-Identifier: LGPL-2.1-or-later // Generated by scripts/gen_dwarf_constants.py. #include #include "dwarf_constants.h" #define X(name, _) if (value == name) return #name; const char *dw_op_str(int value, char buf[static DW_OP_STR_BUF_LEN]) { DW_OP_DEFINITIONS snprintf(buf, DW_OP_STR_BUF_LEN, DW_OP_STR_UNKNOWN_FORMAT, value); return buf; } const char *dw_tag_str(int value, char buf[static DW_TAG_STR_BUF_LEN]) { DW_TAG_DEFINITIONS snprintf(buf, DW_TAG_STR_BUF_LEN, DW_TAG_STR_UNKNOWN_FORMAT, value); return buf; } #undef X