libabigail/tests/data/test-diff-dwarf/test0-v0.cc

52 lines
397 B
C++
Raw Normal View History

class B0S0
{
int m0;
char m1;
public:
void
Drop symbols not global in a symtab from corpus symtab * src/abg-corpus.cc (corpus_priv::build_symbol_table): If a function or variable symbol is not public (global or weak) and present in an elf symbol table, drop it from the corpus symbol table. As a result functions are variables (not present in the elf symbol tables) that we were previously taking in account are not dropped on the floor, leading to much less noise. * tests/data/test-diff-dwarf/test0-v0.cc: Update to avoid generating inline functions. * tests/data/test-diff-dwarf/test0-v0.o: Likewise. * tests/data/test-diff-dwarf/test0-v1.cc: Likewise. * tests/data/test-diff-dwarf/test0-v1.o: Likewise. * tests/data/test-diff-dwarf/test7-v0.o: Likewise. * tests/data/test-diff-dwarf/test7-v1.cc: Likewise. * tests/data/test-diff-dwarf/test7-v1.o: Likewise. * tests/data/test-diff-dwarf/test8-v0.cc: Likewise. * tests/data/test-diff-dwarf/test8-v0.o: Likewise. * tests/data/test-diff-dwarf/test8-v1.cc: Likewise. * tests/data/test-diff-dwarf/test8-v1.o: Likewise. * tests/data/test-diff-filter/test0-v0.cc: Likewise. * tests/data/test-diff-filter/test0-v0.o: Likewise. * tests/data/test-diff-filter/test0-v1.cc: Likewise. * tests/data/test-diff-filter/test0-v1.o: Likewise. * tests/data/test-diff-filter/test10-v0.cc: Likewise. * tests/data/test-diff-filter/test10-v0.o: Likewise. * tests/data/test-diff-filter/test10-report.txt: Likewise. * tests/data/test-diff-filter/test10-v1.o: Likewise. * tests/data/test-diff-filter/test13-v0.cc: Likewise. * tests/data/test-diff-filter/test13-v0.o: Likewise. * tests/data/test-diff-filter/test13-v1.cc: Likewise. * tests/data/test-diff-filter/test13-v1.o: Likewise. * tests/data/test-diff-filter/test2-v0.cc: Likewise. * tests/data/test-diff-filter/test2-v0.o: Likewise. * tests/data/test-diff-filter/test2-v1.cc: Likewise. * tests/data/test-diff-filter/test2-v1.o: Likewise. * tests/data/test-diff-filter/test4-v0.cc: Likewise. * tests/data/test-diff-filter/test4-v0.o: Likewise. * tests/data/test-diff-filter/test4-v1.cc: Likewise. * tests/data/test-diff-filter/test4-v1.o: Likewise. * tests/data/test-diff-filter/test9-v0.o: Likewise. * tests/data/test-diff-filter/test9-v1.cc: Likewise. * tests/data/test-diff-filter/test9-v1.o: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-21 17:33:54 +00:00
member0() const;
static void
static_member0();
};
Drop symbols not global in a symtab from corpus symtab * src/abg-corpus.cc (corpus_priv::build_symbol_table): If a function or variable symbol is not public (global or weak) and present in an elf symbol table, drop it from the corpus symbol table. As a result functions are variables (not present in the elf symbol tables) that we were previously taking in account are not dropped on the floor, leading to much less noise. * tests/data/test-diff-dwarf/test0-v0.cc: Update to avoid generating inline functions. * tests/data/test-diff-dwarf/test0-v0.o: Likewise. * tests/data/test-diff-dwarf/test0-v1.cc: Likewise. * tests/data/test-diff-dwarf/test0-v1.o: Likewise. * tests/data/test-diff-dwarf/test7-v0.o: Likewise. * tests/data/test-diff-dwarf/test7-v1.cc: Likewise. * tests/data/test-diff-dwarf/test7-v1.o: Likewise. * tests/data/test-diff-dwarf/test8-v0.cc: Likewise. * tests/data/test-diff-dwarf/test8-v0.o: Likewise. * tests/data/test-diff-dwarf/test8-v1.cc: Likewise. * tests/data/test-diff-dwarf/test8-v1.o: Likewise. * tests/data/test-diff-filter/test0-v0.cc: Likewise. * tests/data/test-diff-filter/test0-v0.o: Likewise. * tests/data/test-diff-filter/test0-v1.cc: Likewise. * tests/data/test-diff-filter/test0-v1.o: Likewise. * tests/data/test-diff-filter/test10-v0.cc: Likewise. * tests/data/test-diff-filter/test10-v0.o: Likewise. * tests/data/test-diff-filter/test10-report.txt: Likewise. * tests/data/test-diff-filter/test10-v1.o: Likewise. * tests/data/test-diff-filter/test13-v0.cc: Likewise. * tests/data/test-diff-filter/test13-v0.o: Likewise. * tests/data/test-diff-filter/test13-v1.cc: Likewise. * tests/data/test-diff-filter/test13-v1.o: Likewise. * tests/data/test-diff-filter/test2-v0.cc: Likewise. * tests/data/test-diff-filter/test2-v0.o: Likewise. * tests/data/test-diff-filter/test2-v1.cc: Likewise. * tests/data/test-diff-filter/test2-v1.o: Likewise. * tests/data/test-diff-filter/test4-v0.cc: Likewise. * tests/data/test-diff-filter/test4-v0.o: Likewise. * tests/data/test-diff-filter/test4-v1.cc: Likewise. * tests/data/test-diff-filter/test4-v1.o: Likewise. * tests/data/test-diff-filter/test9-v0.o: Likewise. * tests/data/test-diff-filter/test9-v1.cc: Likewise. * tests/data/test-diff-filter/test9-v1.o: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-21 17:33:54 +00:00
void
B0S0::member0() const
{}
void
B0S0::static_member0()
{
}
class B0S1
{
int m0;
public:
B0S1()
{}
};
class S0 : public B0S0
{
int m0;
Drop symbols not global in a symtab from corpus symtab * src/abg-corpus.cc (corpus_priv::build_symbol_table): If a function or variable symbol is not public (global or weak) and present in an elf symbol table, drop it from the corpus symbol table. As a result functions are variables (not present in the elf symbol tables) that we were previously taking in account are not dropped on the floor, leading to much less noise. * tests/data/test-diff-dwarf/test0-v0.cc: Update to avoid generating inline functions. * tests/data/test-diff-dwarf/test0-v0.o: Likewise. * tests/data/test-diff-dwarf/test0-v1.cc: Likewise. * tests/data/test-diff-dwarf/test0-v1.o: Likewise. * tests/data/test-diff-dwarf/test7-v0.o: Likewise. * tests/data/test-diff-dwarf/test7-v1.cc: Likewise. * tests/data/test-diff-dwarf/test7-v1.o: Likewise. * tests/data/test-diff-dwarf/test8-v0.cc: Likewise. * tests/data/test-diff-dwarf/test8-v0.o: Likewise. * tests/data/test-diff-dwarf/test8-v1.cc: Likewise. * tests/data/test-diff-dwarf/test8-v1.o: Likewise. * tests/data/test-diff-filter/test0-v0.cc: Likewise. * tests/data/test-diff-filter/test0-v0.o: Likewise. * tests/data/test-diff-filter/test0-v1.cc: Likewise. * tests/data/test-diff-filter/test0-v1.o: Likewise. * tests/data/test-diff-filter/test10-v0.cc: Likewise. * tests/data/test-diff-filter/test10-v0.o: Likewise. * tests/data/test-diff-filter/test10-report.txt: Likewise. * tests/data/test-diff-filter/test10-v1.o: Likewise. * tests/data/test-diff-filter/test13-v0.cc: Likewise. * tests/data/test-diff-filter/test13-v0.o: Likewise. * tests/data/test-diff-filter/test13-v1.cc: Likewise. * tests/data/test-diff-filter/test13-v1.o: Likewise. * tests/data/test-diff-filter/test2-v0.cc: Likewise. * tests/data/test-diff-filter/test2-v0.o: Likewise. * tests/data/test-diff-filter/test2-v1.cc: Likewise. * tests/data/test-diff-filter/test2-v1.o: Likewise. * tests/data/test-diff-filter/test4-v0.cc: Likewise. * tests/data/test-diff-filter/test4-v0.o: Likewise. * tests/data/test-diff-filter/test4-v1.cc: Likewise. * tests/data/test-diff-filter/test4-v1.o: Likewise. * tests/data/test-diff-filter/test9-v0.o: Likewise. * tests/data/test-diff-filter/test9-v1.cc: Likewise. * tests/data/test-diff-filter/test9-v1.o: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-21 17:33:54 +00:00
void member0() const;
};
Drop symbols not global in a symtab from corpus symtab * src/abg-corpus.cc (corpus_priv::build_symbol_table): If a function or variable symbol is not public (global or weak) and present in an elf symbol table, drop it from the corpus symbol table. As a result functions are variables (not present in the elf symbol tables) that we were previously taking in account are not dropped on the floor, leading to much less noise. * tests/data/test-diff-dwarf/test0-v0.cc: Update to avoid generating inline functions. * tests/data/test-diff-dwarf/test0-v0.o: Likewise. * tests/data/test-diff-dwarf/test0-v1.cc: Likewise. * tests/data/test-diff-dwarf/test0-v1.o: Likewise. * tests/data/test-diff-dwarf/test7-v0.o: Likewise. * tests/data/test-diff-dwarf/test7-v1.cc: Likewise. * tests/data/test-diff-dwarf/test7-v1.o: Likewise. * tests/data/test-diff-dwarf/test8-v0.cc: Likewise. * tests/data/test-diff-dwarf/test8-v0.o: Likewise. * tests/data/test-diff-dwarf/test8-v1.cc: Likewise. * tests/data/test-diff-dwarf/test8-v1.o: Likewise. * tests/data/test-diff-filter/test0-v0.cc: Likewise. * tests/data/test-diff-filter/test0-v0.o: Likewise. * tests/data/test-diff-filter/test0-v1.cc: Likewise. * tests/data/test-diff-filter/test0-v1.o: Likewise. * tests/data/test-diff-filter/test10-v0.cc: Likewise. * tests/data/test-diff-filter/test10-v0.o: Likewise. * tests/data/test-diff-filter/test10-report.txt: Likewise. * tests/data/test-diff-filter/test10-v1.o: Likewise. * tests/data/test-diff-filter/test13-v0.cc: Likewise. * tests/data/test-diff-filter/test13-v0.o: Likewise. * tests/data/test-diff-filter/test13-v1.cc: Likewise. * tests/data/test-diff-filter/test13-v1.o: Likewise. * tests/data/test-diff-filter/test2-v0.cc: Likewise. * tests/data/test-diff-filter/test2-v0.o: Likewise. * tests/data/test-diff-filter/test2-v1.cc: Likewise. * tests/data/test-diff-filter/test2-v1.o: Likewise. * tests/data/test-diff-filter/test4-v0.cc: Likewise. * tests/data/test-diff-filter/test4-v0.o: Likewise. * tests/data/test-diff-filter/test4-v1.cc: Likewise. * tests/data/test-diff-filter/test4-v1.o: Likewise. * tests/data/test-diff-filter/test9-v0.o: Likewise. * tests/data/test-diff-filter/test9-v1.cc: Likewise. * tests/data/test-diff-filter/test9-v1.o: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-04-21 17:33:54 +00:00
void
S0::member0() const
{}
class S1 : public B0S1
{
int m0;
void member0()
{}
};
void
foo(S0&, S1*)
{}