2013-08-27 11:38:10 +00:00
|
|
|
h=$(abs_srcdir)
|
|
|
|
|
2013-10-03 00:05:53 +00:00
|
|
|
TESTS= \
|
|
|
|
runtestreadwrite \
|
|
|
|
runtestwritereadarchive \
|
2014-01-07 14:34:42 +00:00
|
|
|
runtestreaddwarf \
|
2014-04-21 15:43:15 +00:00
|
|
|
runtestlookupsyms \
|
2013-10-03 00:05:53 +00:00
|
|
|
runtestcorediff \
|
2013-11-29 12:49:50 +00:00
|
|
|
runtestbidiff \
|
2014-03-21 14:15:02 +00:00
|
|
|
runtestdiffdwarf \
|
2014-03-29 05:44:13 +00:00
|
|
|
runtestdifffilter \
|
2013-10-03 00:05:53 +00:00
|
|
|
runtestsvg \
|
2013-07-02 01:08:18 +00:00
|
|
|
runtestdot
|
2013-03-21 22:42:41 +00:00
|
|
|
|
2014-03-21 08:32:14 +00:00
|
|
|
noinst_PROGRAMS= $(TESTS) testirwalker testdiff2
|
2013-03-21 22:42:41 +00:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libtestutils.la
|
|
|
|
|
2013-08-27 13:18:59 +00:00
|
|
|
libtestutils_la_SOURCES= \
|
|
|
|
test-utils.h \
|
2013-05-03 13:28:10 +00:00
|
|
|
test-utils.cc
|
2013-03-21 22:42:41 +00:00
|
|
|
|
2013-08-29 15:08:47 +00:00
|
|
|
libtestutils_la_LIBADD=$(top_builddir)/tools/libtoolsutils.la
|
|
|
|
libtestutils_la_DEPENDENCIES=$(top_builddir)/tools/libtoolsutils.la
|
|
|
|
|
2013-03-21 22:42:41 +00:00
|
|
|
libtestutils_la_CXXFLAGS= \
|
2013-08-29 15:08:47 +00:00
|
|
|
-DABIGAIL_SRC_DIR=\"${abs_top_srcdir}\" \
|
|
|
|
-DABIGAIL_BUILD_DIR=\"${abs_top_builddir}\"
|
2013-03-21 22:42:41 +00:00
|
|
|
|
2013-08-27 11:38:10 +00:00
|
|
|
runtestreadwrite_SOURCES=$(h)/test-read-write.cc
|
2013-10-03 00:05:53 +00:00
|
|
|
runtestreadwrite_LDADD=libtestutils.la $(top_builddir)/src/libabigail.la
|
2013-03-21 22:42:41 +00:00
|
|
|
|
2013-08-27 13:18:59 +00:00
|
|
|
runtestwritereadarchive_SOURCES=$(h)/test-write-read-archive.cc
|
2013-08-29 15:08:47 +00:00
|
|
|
runtestwritereadarchive_LDADD= libtestutils.la $(top_builddir)/src/libabigail.la $(top_builddir)/tools/libtoolsutils.la
|
2013-08-27 13:18:59 +00:00
|
|
|
|
2014-01-07 14:34:42 +00:00
|
|
|
runtestreaddwarf_SOURCES=$(h)/test-read-dwarf.cc
|
|
|
|
runtestreaddwarf_LDADD=libtestutils.la $(top_builddir)/src/libabigail.la
|
|
|
|
|
2014-04-21 15:43:15 +00:00
|
|
|
runtestlookupsyms_SOURCES=$(h)/test-lookup-syms.cc
|
|
|
|
runtestlookupsyms_LDADD=libtestutils.la $(top_builddir)/src/libabigail.la
|
|
|
|
|
2013-10-03 00:05:53 +00:00
|
|
|
runtestcorediff_SOURCES=$(h)/test-core-diff.cc
|
|
|
|
runtestcorediff_LDADD=libtestutils.la $(top_builddir)/src/libabigail.la
|
|
|
|
|
2013-11-29 12:49:50 +00:00
|
|
|
runtestbidiff_SOURCES = $(h)/test-bidiff.cc
|
|
|
|
runtestbidiff_LDADD = libtestutils.la $(top_builddir)/src/libabigail.la
|
|
|
|
|
2014-03-21 14:15:02 +00:00
|
|
|
runtestdiffdwarf_SOURCES = $(h)/test-diff-dwarf.cc
|
|
|
|
runtestdiffdwarf_LDADD = libtestutils.la $(top_builddir)/src/libabigail.la
|
|
|
|
|
2014-03-29 05:44:13 +00:00
|
|
|
runtestdifffilter_SOURCES = $(h)/test-diff-filter.cc
|
|
|
|
runtestdifffilter_LDADD = libtestutils.la $(top_builddir)/src/libabigail.la
|
|
|
|
|
2013-08-27 11:38:10 +00:00
|
|
|
runtestsvg_SOURCES=$(h)/test-svg.cc
|
2013-05-28 08:22:08 +00:00
|
|
|
runtestsvg_LDADD=$(top_builddir)/src/libabigail.la
|
|
|
|
|
2013-08-27 11:38:10 +00:00
|
|
|
runtestdot_SOURCES=$(h)/test-dot.cc
|
2013-07-02 01:08:18 +00:00
|
|
|
runtestdot_LDADD=$(top_builddir)/src/libabigail.la
|
|
|
|
|
2014-03-21 08:32:14 +00:00
|
|
|
testirwalker_SOURCES=$(h)/test-ir-walker.cc
|
|
|
|
testirwalker_LDADD=$(top_builddir)/src/libabigail.la
|
Implement a translation unit traversal API
* include/libabigail/abg-ir.h (struct ir_node_visitor, struct
traversable): New interfaces.
(translation_unit, scope_decl, type_decl, qualified_type_def)
(pointer_type_def, reference_type_def, enum_type_decl)
(typedef_decl, var_decl, function_decl, data_member)
(member_function, member_function_template)
(member_class_template): Implement the traversable interface,
overload the traversable::traverse pure virtual function.
* src/abg-ir.cc ({translation_unit, scope_decl, type_decl,
namespace_decl, qualified_type_def, pointer_type_def,
reference_type_def, enum_type_decl, typedef_decl, var_decl,
function_decl, class_decl::member_function, class_decl,
class_decl::data_member, class_decl::member_function_template,
class_decl::member_class_template, function_template_decl,
class_template_decl, }::traverse): Implement traversal.
(ir_node_visitor::visit): New method, overloaded for the types
above, which implement the traversable interface.
* tests/test-walker.cc: New test case program to showcase how to
use the new traversal API.
* tests/makefile.am: Add test-walker.cc to the build system.
2013-07-20 10:30:04 +00:00
|
|
|
|
2013-10-02 21:52:58 +00:00
|
|
|
testdiff2_SOURCES=$(h)/test-diff2.cc
|
|
|
|
testdiff2_LDADD=$(top_builddir)/src/libabigail.la
|
|
|
|
|
2013-08-29 15:08:47 +00:00
|
|
|
AM_CPPFLAGS=-I${abs_top_srcdir}/include \
|
|
|
|
-I${abs_top_builddir}/include -I${abs_top_srcdir}/tools
|
2013-05-28 08:22:08 +00:00
|
|
|
AM_CXXFLAGS="-std=gnu++11"
|
2013-03-21 22:42:41 +00:00
|
|
|
|
2013-08-29 15:08:47 +00:00
|
|
|
EXTRA_DIST= \
|
2013-05-03 13:28:10 +00:00
|
|
|
data/test-read-write/test0.xml \
|
|
|
|
data/test-read-write/test1.xml \
|
|
|
|
data/test-read-write/test2.xml \
|
|
|
|
data/test-read-write/test3.xml \
|
|
|
|
data/test-read-write/test4.xml \
|
|
|
|
data/test-read-write/test5.xml \
|
|
|
|
data/test-read-write/test6.xml \
|
|
|
|
data/test-read-write/test7.xml \
|
|
|
|
data/test-read-write/test8.xml \
|
|
|
|
data/test-read-write/test9.xml \
|
|
|
|
data/test-read-write/test10.xml \
|
|
|
|
data/test-read-write/test11.xml \
|
|
|
|
data/test-read-write/test12.xml \
|
|
|
|
data/test-read-write/test13.xml \
|
|
|
|
data/test-read-write/test14.xml \
|
|
|
|
data/test-read-write/test15.xml \
|
2013-08-27 13:18:59 +00:00
|
|
|
data/test-read-write/test16.xml \
|
2013-11-29 12:37:58 +00:00
|
|
|
data/test-read-write/test17.xml \
|
|
|
|
data/test-read-write/test18.xml \
|
|
|
|
data/test-read-write/test19.xml \
|
|
|
|
data/test-read-write/test20.xml \
|
|
|
|
data/test-read-write/test21.xml \
|
2013-08-27 13:18:59 +00:00
|
|
|
\
|
|
|
|
data/test-write-read-archive/test0.xml \
|
|
|
|
data/test-write-read-archive/test1.xml \
|
|
|
|
data/test-write-read-archive/test2.xml \
|
|
|
|
data/test-write-read-archive/test3.xml \
|
2013-11-29 12:49:50 +00:00
|
|
|
data/test-write-read-archive/test4.xml \
|
|
|
|
\
|
|
|
|
data/test-bidiff/test-enum0-v0.cc.bi \
|
|
|
|
data/test-bidiff/test-enum0-v1.cc.bi \
|
|
|
|
data/test-bidiff/test-enum0-report.txt \
|
|
|
|
data/test-bidiff/test-enum1-v0.cc.bi \
|
|
|
|
data/test-bidiff/test-enum1-v1.cc.bi \
|
|
|
|
data/test-bidiff/test-enum1-report.txt \
|
|
|
|
data/test-bidiff/test-qual-type0-v0.cc.bi \
|
|
|
|
data/test-bidiff/test-qual-type0-v1.cc.bi \
|
|
|
|
data/test-bidiff/test-qual-type0-report.txt \
|
|
|
|
data/test-bidiff/test-struct0-v0.cc.bi \
|
|
|
|
data/test-bidiff/test-struct0-v1.cc.bi \
|
|
|
|
data/test-bidiff/test-struct0-report.txt \
|
|
|
|
data/test-bidiff/test-struct1-v0.cc.bi \
|
|
|
|
data/test-bidiff/test-struct1-v1.cc.bi \
|
|
|
|
data/test-bidiff/test-struct1-report.txt \
|
|
|
|
data/test-bidiff/test-var0-v0.cc.bi \
|
|
|
|
data/test-bidiff/test-var0-v1.cc.bi \
|
2014-01-07 14:34:42 +00:00
|
|
|
data/test-bidiff/test-var0-report.txt \
|
|
|
|
\
|
2014-03-21 14:15:02 +00:00
|
|
|
data/test-diff-dwarf/test0-v0.cc \
|
|
|
|
data/test-diff-dwarf/test0-v0.o \
|
|
|
|
data/test-diff-dwarf/test0-v1.cc \
|
|
|
|
data/test-diff-dwarf/test0-v1.o \
|
|
|
|
data/test-diff-dwarf/test0-report.txt \
|
2014-03-29 08:04:01 +00:00
|
|
|
data/test-diff-dwarf/test1-v0.cc \
|
|
|
|
data/test-diff-dwarf/test1-v0.o \
|
|
|
|
data/test-diff-dwarf/test1-v1.cc \
|
|
|
|
data/test-diff-dwarf/test1-v1.o \
|
|
|
|
data/test-diff-dwarf/test1-report.txt \
|
2014-04-01 10:38:51 +00:00
|
|
|
data/test-diff-dwarf/test2-v0.cc \
|
|
|
|
data/test-diff-dwarf/test2-v0.o \
|
|
|
|
data/test-diff-dwarf/test2-v1.cc \
|
|
|
|
data/test-diff-dwarf/test2-v1.o \
|
|
|
|
data/test-diff-dwarf/test2-report.txt \
|
2014-04-05 09:59:16 +00:00
|
|
|
data/test-diff-dwarf/test3-v0.cc \
|
|
|
|
data/test-diff-dwarf/test3-v0.o \
|
|
|
|
data/test-diff-dwarf/test3-v1.cc \
|
|
|
|
data/test-diff-dwarf/test3-v1.o \
|
|
|
|
data/test-diff-dwarf/test3-report.txt \
|
|
|
|
data/test-diff-dwarf/test4-v0.cc \
|
|
|
|
data/test-diff-dwarf/test4-v0.o \
|
|
|
|
data/test-diff-dwarf/test4-v1.cc \
|
|
|
|
data/test-diff-dwarf/test4-v1.o \
|
|
|
|
data/test-diff-dwarf/test4-report.txt \
|
2014-04-16 15:14:48 +00:00
|
|
|
data/test-diff-dwarf/test5-v0.cc \
|
|
|
|
data/test-diff-dwarf/test5-v0.o \
|
|
|
|
data/test-diff-dwarf/test5-v1.cc \
|
|
|
|
data/test-diff-dwarf/test5-v1.o \
|
|
|
|
data/test-diff-dwarf/test5-report.txt \
|
|
|
|
data/test-diff-dwarf/test6-v0.cc \
|
|
|
|
data/test-diff-dwarf/test6-v0.o \
|
|
|
|
data/test-diff-dwarf/test6-v1.cc \
|
|
|
|
data/test-diff-dwarf/test6-v1.o \
|
|
|
|
data/test-diff-dwarf/test6-report.txt \
|
|
|
|
data/test-diff-dwarf/test7-v0.cc \
|
|
|
|
data/test-diff-dwarf/test7-v0.o \
|
|
|
|
data/test-diff-dwarf/test7-v1.cc \
|
|
|
|
data/test-diff-dwarf/test7-v1.o \
|
|
|
|
data/test-diff-dwarf/test7-report.txt \
|
2014-04-17 13:26:38 +00:00
|
|
|
data/test-diff-dwarf/test8-v0.cc \
|
|
|
|
data/test-diff-dwarf/test8-v0.o \
|
|
|
|
data/test-diff-dwarf/test8-v1.cc \
|
|
|
|
data/test-diff-dwarf/test8-v1.o \
|
|
|
|
data/test-diff-dwarf/test8-report.txt \
|
2014-03-21 14:15:02 +00:00
|
|
|
\
|
2014-01-07 14:34:42 +00:00
|
|
|
data/test-read-dwarf/test0 \
|
|
|
|
data/test-read-dwarf/test0.abi \
|
|
|
|
data/test-read-dwarf/test0.cc \
|
|
|
|
data/test-read-dwarf/test1 \
|
|
|
|
data/test-read-dwarf/test1.abi \
|
2014-03-29 05:44:13 +00:00
|
|
|
data/test-read-dwarf/test1.cc \
|
2014-05-19 19:35:56 +00:00
|
|
|
tests/data/test-read-dwarf/test2.h \
|
|
|
|
tests/data/test-read-dwarf/test2-0.cc \
|
|
|
|
tests/data/test-read-dwarf/test2-1.cc \
|
|
|
|
tests/data/test-read-dwarf/test2.so \
|
|
|
|
tests/data/test-read-dwarf/test2.so.abi \
|
2014-03-29 05:44:13 +00:00
|
|
|
\
|
|
|
|
data/test-diff-filter/test0-v0.cc \
|
|
|
|
data/test-diff-filter/test0-v1.cc \
|
|
|
|
data/test-diff-filter/test0-v0.o \
|
|
|
|
data/test-diff-filter/test0-v1.o \
|
2014-03-31 11:07:04 +00:00
|
|
|
data/test-diff-filter/test0-report.txt \
|
|
|
|
data/test-diff-filter/test1-v0.cc \
|
|
|
|
data/test-diff-filter/test1-v1.cc \
|
|
|
|
data/test-diff-filter/test1-v0.o \
|
|
|
|
data/test-diff-filter/test1-v1.o \
|
2014-04-01 13:50:04 +00:00
|
|
|
data/test-diff-filter/test1-report.txt \
|
|
|
|
data/test-diff-filter/test2-v0.cc \
|
|
|
|
data/test-diff-filter/test2-v1.cc \
|
|
|
|
data/test-diff-filter/test2-v0.o \
|
|
|
|
data/test-diff-filter/test2-v1.o \
|
2014-04-05 09:59:16 +00:00
|
|
|
data/test-diff-filter/test2-report.txt \
|
|
|
|
data/test-diff-filter/test3-v0.cc \
|
|
|
|
data/test-diff-filter/test3-v1.cc \
|
|
|
|
data/test-diff-filter/test3-v0.o \
|
|
|
|
data/test-diff-filter/test3-v1.o \
|
|
|
|
data/test-diff-filter/test3-report.txt \
|
|
|
|
data/test-diff-filter/test4-v0.cc \
|
|
|
|
data/test-diff-filter/test4-v1.cc \
|
|
|
|
data/test-diff-filter/test4-v0.o \
|
|
|
|
data/test-diff-filter/test4-v1.o \
|
|
|
|
data/test-diff-filter/test4-report.txt \
|
|
|
|
data/test-diff-filter/test5-v0.cc \
|
|
|
|
data/test-diff-filter/test5-v1.cc \
|
|
|
|
data/test-diff-filter/test5-v0.o \
|
|
|
|
data/test-diff-filter/test5-v1.o \
|
2014-04-06 13:59:38 +00:00
|
|
|
data/test-diff-filter/test5-report.txt \
|
|
|
|
data/test-diff-filter/test6-v0.cc \
|
|
|
|
data/test-diff-filter/test6-v1.cc \
|
|
|
|
data/test-diff-filter/test6-v0.o \
|
|
|
|
data/test-diff-filter/test6-v1.o \
|
|
|
|
data/test-diff-filter/test6-report.txt \
|
|
|
|
data/test-diff-filter/test7-v0.cc \
|
|
|
|
data/test-diff-filter/test7-v1.cc \
|
|
|
|
data/test-diff-filter/test7-v0.o \
|
|
|
|
data/test-diff-filter/test7-v1.o \
|
2014-04-16 15:14:48 +00:00
|
|
|
data/test-diff-filter/test7-report.txt \
|
|
|
|
data/test-diff-filter/test8-v0.cc \
|
|
|
|
data/test-diff-filter/test8-v1.cc \
|
|
|
|
data/test-diff-filter/test8-v0.o \
|
|
|
|
data/test-diff-filter/test8-v1.o \
|
|
|
|
data/test-diff-filter/test8-report.txt \
|
|
|
|
data/test-diff-filter/test9-v0.cc \
|
|
|
|
data/test-diff-filter/test9-v1.cc \
|
|
|
|
data/test-diff-filter/test9-v0.o \
|
|
|
|
data/test-diff-filter/test9-v1.o \
|
|
|
|
data/test-diff-filter/test9-report.txt \
|
|
|
|
data/test-diff-filter/test10-v0.cc \
|
|
|
|
data/test-diff-filter/test10-v1.cc \
|
|
|
|
data/test-diff-filter/test10-v0.o \
|
|
|
|
data/test-diff-filter/test10-v1.o \
|
|
|
|
data/test-diff-filter/test10-report.txt \
|
|
|
|
data/test-diff-filter/test11-v0.cc \
|
|
|
|
data/test-diff-filter/test11-v1.cc \
|
|
|
|
data/test-diff-filter/test11-v0.o \
|
|
|
|
data/test-diff-filter/test11-v1.o \
|
2014-04-17 09:18:21 +00:00
|
|
|
data/test-diff-filter/test11-report.txt \
|
|
|
|
data/test-diff-filter/test12-v0.cc \
|
|
|
|
data/test-diff-filter/test12-v1.cc \
|
|
|
|
data/test-diff-filter/test12-v0.o \
|
|
|
|
data/test-diff-filter/test12-v1.o \
|
2014-04-17 13:26:38 +00:00
|
|
|
data/test-diff-filter/test12-report.txt \
|
|
|
|
data/test-diff-filter/test13-v0.cc \
|
|
|
|
data/test-diff-filter/test13-v1.cc \
|
|
|
|
data/test-diff-filter/test13-v0.o \
|
|
|
|
data/test-diff-filter/test13-v1.o \
|
2014-04-21 15:43:15 +00:00
|
|
|
data/test-diff-filter/test13-report.txt \
|
|
|
|
\
|
|
|
|
data/test-lookup-syms/test0.cc \
|
|
|
|
data/test-lookup-syms/test0.o \
|
|
|
|
data/test-lookup-syms/test0-report.txt \
|
|
|
|
data/test-lookup-syms/test01-report.txt \
|
Initial support for elf symbol (versionning) during decl comparison
* include/abg-fwd.h (get_linkage_name): Remove.
* include/abg-dwarf-reader.h (enum symbol_type)
(enum symbol_binding): Move these into abg-ir.h.
(lookup_symbol_from_elf, lookup_public_function_symbol_from_elf):
Adjust.
* src/abg-dwarf-reader.cc (eval_last_constant_dwarf_sub_expr):
Declare this before using it.
(die_address_attribute, die_location_address)
(stt_to_elf_symbol_type, stb_to_elf_symbol_binding)
(find_hash_table_section_index, find_symbol_table_section)
(find_symbol_table_section_index, find_text_section)
(find_bss_section, compare_symbol_name)
(get_symbol_versionning_sections get_version_for_symbol)
(lookup_symbol_from_sysv_hash_tab)
(lookup_symbol_from_gnu_hash_tab, get_elf_class_size_in_bytes)
(bloom_word_at, setup_gnu_ht, lookup_symbol_from_elf_hash_tab)
(lookup_symbol_from_symtab, maybe_adjust_fn_sym_address)
(maybe_adjust_var_sym_address): New static functions.
(enum hash_table_kind): New enum.
(struct gnu_ht): New struct.
(read_context::var_decls_to_add_): Renamed var_decls_to_add into
this.
(read_context::{fun, var}_sym_addr_sym_index_map_): New member.
(read_context::{lookup_symbol_from_elf,
lookup_elf_symbol_from_index, lookup_elf_fn_symbol_from_address,
lookup_elf_var_symbol_from_address, fun_sym_addr_sym_index_map,
var_sym_addr_sym_index_map, load_symbol_addr_to_index_maps,
get_function_address, get_variable_address}): New member
functions.
(read_context::lookup_public_{variable,
function}_symbol_from_elf): Adjust.
(op_pushes_constant_value): Fix a bug here.
(lookup_symbol_from_elf): Adjust. Support cases where there is no
elf hash table, e.g, for relocatable files.
(lookup_public_function_symbol_from_elf)
(lookup_public_variable_symbol_from_elf): Adjust.
(build_var_decl): Allow updating the var_decl to associate it with
its underlying symbol. In that case, if the linkage name is not
set, set it to the symbol name.
(build_function_decl): Likewise for function_decl.
(operator<<(std::ostream&, symbol_type)):
(operator<<(std::ostream&, symbol_binding)): Move these do
abg-ir.cc.
* include/abg-ir.h (class elf_symbol): Declare new class. Move
enum symbol_binding and enum symbol_type (from abg-dwarf-reader.h) to
elf_symbol::binding and elf_symbol::type here.
(operator<<(std::ostream&, elf_symbol::type))
(operator<<(std::ostream&, elf_symbol::binding))
(operator==(const elf_symbol_sptr, const elf_symbol_sptr)): New
operators.
(class elf_symbol::version): Declare new class.
(class var_decl): Make this pimpl, and add ...
(var_decl::{g,s}et_symbol): ... new member functions.
(class function_decl): Likewise, make this pimpl and add ...
(function_decl::{g,s}et_symbol): ... new member functions.
* src/abg-ir.cc (struct elf_symbol, elf_symbol::priv): New
types.
(elf_symbol::*): Lots of new members and member functions.
(operator==(const elf_symbol_sptr, const elf_symbol_sptr)): New.
(operator<<(std::ostream&, elf_symbol::type)): New.
(operator<<(std::ostream&, elf_symbol::binding)): New.
(elf_symbol::version::priv): New type.
(elf_symbol::version::*): Lots of member functions.
(get_linkage_name): Removed.
(var_decl::priv): New type. Pimplify the thing.
(var_decl::{s,g}et_symbol): New.
(var_decl::operator==): Take symbols in account in the comparison.
(function_decl::priv): New type.
(function_decl::*): Pimplify.
(function_decl::{s,g}et_symbol): New.
(function_decl::operator==): Take symbols in account in the
comparison.
* include/abg-comparison.h (diff_context::show_linkage_name): New
member function.
* src/abg-comparison.cc (diff_context::priv::show_linkage_name_):
New member.
(diff_context::priv::priv): Initialize it.
(diff_context::show_linkage_names): New member function.
(corpus_diff::report): If the user used --show-linkage-names,
display the linkage name after the name of the functions. Add
missing "'" in the some spots.
* tools/bidiff.cc (options.show_linkage_names): New member.
(display_usage, parse_command_line): Support --linkage-names.
* tools/bisym.cc (show_help): Add '\n' at the end of help string
for --demangle. Add --no-absolute-path option.
(parse_command_line): Support --no-absolute-path.
(main): Adjust for symbol (versionning) support. Consider that
the program successfully completed even when the symbol wasn't
found. Support --no-absolute-path.
* tests/data/test-lookup-syms/test0-report.txt: New.
* tests/data/test-lookup-syms/test01-report.txt: New.
* tests/data/test-lookup-syms/test02-report.txt: New.
* tests/data/test-read-dwarf/test0.abi: Adjust.
* tests/data/test-read-dwarf/test1.abi: Adjust.
* tests/data/test-diff-dwarf/test7-report.txt: Adjust.
* tests/data/test-diff-filter/test10-report.txt: Adjust.
* tests/data/test-diff-filter/test12-report.txt: Adjust.
* tests/data/test-lookup-syms/test1-[123]-report.txt: New.
* tests/data/test-lookup-syms/test1.c: New.
* tests/data/test-lookup-syms/test1.version-script: New.
* tests/test-lookup-syms.cc: Adjust for new tests.
* test/Makefile.am: Adjust makefile.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-05-08 09:31:57 +00:00
|
|
|
data/test-lookup-syms/test02-report.txt \
|
|
|
|
data/test-lookup-syms/test1.c \
|
|
|
|
data/test-lookup-syms/test1.version-script \
|
|
|
|
data/test-lookup-syms/test1.so \
|
|
|
|
data/test-lookup-syms/test1-1-report.txt \
|
|
|
|
data/test-lookup-syms/test1-2-report.txt \
|
|
|
|
data/test-lookup-syms/test1-3-report.txt
|
2013-05-03 13:28:10 +00:00
|
|
|
|
|
|
|
clean-local: clean-local-check
|
|
|
|
.PHONY: clean-local-check
|
|
|
|
|
|
|
|
clean-local-check:
|
2013-07-03 05:32:21 +00:00
|
|
|
-rm -rf ${builddir}/output *.svg *.gv
|