OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 | |
6 // This file defines the ElfObject which decodes the elf data and calls | |
7 // the appropriate reader callbacks. The reader interface allows the | |
8 // libary user to examine the ELF file without ever needing to know | |
9 // machine class (32/64 bit). | |
10 | |
11 #ifndef DWARF_READER_DWARF_STRINGS_H_ | |
12 #define DWARF_READER_DWARF_STRINGS_H_ | |
13 | |
14 #include "common/types.h" | |
15 #include "common/dwarf/dwarf2enums.h" | |
16 | |
17 using dwarf2reader::DwarfAttribute; | |
18 using dwarf2reader::DwarfTag; | |
19 using dwarf2reader::DwarfForm; | |
20 | |
21 | |
22 namespace dwarf_reader { | |
23 | |
24 const char *DwarfAttributeName(enum DwarfAttribute attr); | |
25 const char *DwarfTagName(enum DwarfTag tag); | |
26 const char *DwarfFormName(enum DwarfForm form); | |
27 | |
28 } // namespace dwarf2reader | |
29 #endif // DWARF_READER_DWARF_STRINGS_H__ | |
30 | |
OLD | NEW |