Skip to content

Commit

Permalink
Merge pull request #309 from ikitayama/for-next
Browse files Browse the repository at this point in the history
Fix test_basic test error
  • Loading branch information
mxz297 committed Dec 27, 2016
2 parents 9b8e9c1 + e906362 commit a78e380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stackwalk/src/linux-swk.C
Expand Up @@ -96,7 +96,7 @@ int P_gettid()

vsys_info *Dyninst::Stackwalker::getVsysInfo(ProcessState *ps)
{
#if defined(arch_x86_64)
#if defined(arch_x86_64) || defined(arch_aarch64)
if (ps->getAddressWidth() == 8)
return NULL;
#endif
Expand Down
3 changes: 2 additions & 1 deletion symtabAPI/src/dwarfWalker.C
Expand Up @@ -250,7 +250,8 @@ void DwarfParseActions::setModuleFromName(std::string moduleName)
bool DwarfWalker::buildSrcFiles(Dwarf_Debug dbg, Dwarf_Die entry, StringTablePtr srcFiles) {
Dwarf_Signed cnt = 0;
char** srcFileList;
DWARF_ERROR_RET(dwarf_srcfiles(entry, &srcFileList, &cnt, NULL));
Dwarf_Error error;
DWARF_ERROR_RET(dwarf_srcfiles(entry, &srcFileList, &cnt, &error));

if(!srcFiles->empty()) {
return true;
Expand Down

0 comments on commit a78e380

Please sign in to comment.