|
|
|||
File indexing completed on 2026-05-10 08:42:45
0001 //===-- dwarf.h -------------------------------------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 0009 #ifndef LLDB_CORE_DWARF_H 0010 #define LLDB_CORE_DWARF_H 0011 0012 #include <cstdint> 0013 0014 // Get the DWARF constant definitions from llvm 0015 #include "llvm/BinaryFormat/Dwarf.h" 0016 0017 namespace lldb_private { 0018 namespace dwarf { 0019 using namespace llvm::dwarf; 0020 } 0021 } 0022 0023 typedef llvm::dwarf::Attribute dw_attr_t; 0024 typedef llvm::dwarf::Form dw_form_t; 0025 typedef llvm::dwarf::Tag dw_tag_t; 0026 typedef uint64_t dw_addr_t; // Dwarf address define that must be big enough for 0027 // any addresses in the compile units that get 0028 // parsed 0029 0030 typedef uint64_t dw_offset_t; // Dwarf Debug Information Entry offset for any 0031 // offset into the file 0032 0033 /* Constants */ 0034 #define DW_DIE_OFFSET_MAX_BITSIZE 40 0035 #define DW_INVALID_OFFSET (((uint64_t)1u << DW_DIE_OFFSET_MAX_BITSIZE) - 1) 0036 #define DW_INVALID_INDEX 0xFFFFFFFFul 0037 0038 // #define DW_ADDR_none 0x0 0039 0040 #define DW_EH_PE_MASK_ENCODING 0x0F 0041 0042 #endif // LLDB_CORE_DWARF_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|