brintos

brintos / llvm-project-archived public Read only

0
0
Text · 618 B · 284755b Raw
33 lines · plain
1// Object file built using:2// clang -g -mllvm -generate-dwarf-pubnames -o dwarfdump-pubnames.elf-x86_64 \3//    dwarfdump-pubnames.cc  -c4 5struct C {6  void member_function();7  static int static_member_function();8  static int static_member_variable;9};10 11int C::static_member_variable = 0;12 13void C::member_function() {14  static_member_variable = 0;15}16 17int C::static_member_function() {18  return static_member_variable;19}20 21C global_variable;22 23int global_function() {24  return -1;25}26 27namespace ns {28  void global_namespace_function() {29    global_variable.member_function();30  }31  int global_namespace_variable = 1;32}33