Began removal of platform/. The Monitor:: namespace is completely converted.
[aesalon.git] / src / monitor / dwarf / CompilationUnit.cpp
blob637643a21f05607ec759f8bb21d55e4b6b9c83cb
1 #include "CompilationUnit.h"
2 #include "Parser.h"
4 namespace Aesalon {
5 namespace Monitor {
6 namespace DWARF {
8 CompilationUnit::CompilationUnit(Misc::SmartPointer<ELF::Parser> elf_parser) {
9 Misc::SmartPointer<Block> debug_info = elf_parser->get_section(".debug_info")->get_content();
10 initial_offset = Parser::parse_u32(debug_info);
13 CompilationUnit::~CompilationUnit() {
17 } // namespace DWARF
18 } // namespace Monitor
19 } // namespace Aesalon