compilation-bundle/dwarf-compilation.base/contrib/libdwarfpp/tests/make-dies/make-dies.cpp

20 lines
317 B
C++
Raw Normal View History

2018-10-23 14:56:04 +02:00
#include <fstream>
#include <fileno.hpp>
#include <dwarfpp/lib.hpp>
#include <dwarfpp/attr.hpp>
using std::cout;
using std::endl;
using namespace dwarf;
int main(int argc, char **argv)
{
core::in_memory_root_die root;
auto cu = root.make_new(root.begin(), DW_TAG_compile_unit);
cout << root;
return 0;
}