Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dwarf_loader: Don't stop processing after finding unsupported tag
After emitting a warning that a tag is not supported __die__process_tag was returning NULL, making die__process_unit think that the problem was insufficient memory. Introduce a global variable 'unsupported_tag' and return it instead, that way die__process_unit can distinguish ENOMEM from unsupported tags. Reported-by: Thiago Macieira <[email protected]> Tested-by: Thiago Macieira <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
- Loading branch information