Fix for test1_30:
authorSasha Nicolas <sasha@cs.wisc.edu>
Wed, 5 Sep 2018 17:51:41 +0000 (12:51 -0500)
committerSasha Nicolas <sasha@cs.wisc.edu>
Wed, 5 Sep 2018 17:51:41 +0000 (12:51 -0500)
commit9457fc40e882d9da4d7b6e21762ac24141f2bfe9
tree16ec7910eab500f17004197c8ec6ad8db33eaf06
parent7ead1e045f1e7d69e95e7e76a6c6e053ba5ab9cb
Fix for test1_30:
this test would show PASSED but in reality the return value of the
functions getAddressRanges either in BPatch_image or BPatch_module was
false, meaning the ranges weren't being found correctly.
It turns out that the comparison between filenames was wrong.
For this fix, StringTableEntry needed to be changed in other to store the filename
without the path, and thus allow StringTable boost::multi_index_container
to be indexed by "filename" and not only by "/path/filename".
cmake/packages.cmake
patchAPI/CMakeLists.txt
stackwalk/CMakeLists.txt
symtabAPI/CMakeLists.txt
symtabAPI/h/LineInformation.h
symtabAPI/h/StringTable.h
symtabAPI/src/Function.C
symtabAPI/src/LineInformation.C
symtabAPI/src/Object-elf.C
symtabAPI/src/dwarfWalker.C