mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 15:04:46 +00:00
46f81cc6e0
* 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>
40 lines
237 B
C++
40 lines
237 B
C++
class B0
|
|
{
|
|
char m0;
|
|
|
|
public:
|
|
B0();
|
|
};
|
|
|
|
B0::B0()
|
|
: m0(0)
|
|
{}
|
|
|
|
class B1
|
|
{
|
|
unsigned m0;
|
|
|
|
public:
|
|
B1();
|
|
};
|
|
|
|
B1::B1()
|
|
: m0(0)
|
|
{}
|
|
|
|
class S : public B0, public B1
|
|
{
|
|
char m0;
|
|
|
|
public:
|
|
S();
|
|
};
|
|
|
|
S::S()
|
|
: m0(0)
|
|
{}
|
|
|
|
void
|
|
foo(S&)
|
|
{}
|