summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cxxdump
Commit message (Collapse)AuthorAgeFilesLines
* [llvm/Object] - Make ELFObjectFile::getRelocatedSection return ↵George Rimar2019-10-211-0/+20
| | | | | | | | | | | | | Expected<section_iterator> It returns just a section_iterator currently and have a report_fatal_error call inside. This change adds a way to return errors and handle them on caller sides. The patch also changes/improves current users and adds test cases. Differential revision: https://reviews.llvm.org/D69167 llvm-svn: 375408
* [llvm-cxxdump] Use error reporting helpers from supportJonas Devlieghere2018-11-111-1/+1
| | | | | | | This patch makes llvm-cxxdump use the error reporting helpers from Support/WithColor.h llvm-svn: 346602
* Fix a bug in the code of llvm-cxxdump in dumpArchive() whenKevin Enderby2016-10-212-0/+5
| | | | | | | | | | iterating over an archive with object and non-object members that would cause an Abort because to was not calling consumeError() when the code was wanting to ignore a non-object file. Found by Justin Bogner! llvm-svn: 284867
* [llvm-cxxdump] Remove duplicate code check.Davide Italiano2015-09-151-0/+3
| | | | | | | We already fail with 'No such file or directory' when we try to open the file -- if that doesn't exist. Also add a test to verify this behavior. llvm-svn: 247744
* Add a test for the previous commit.Rafael Espindola2015-06-231-0/+3
| | | | | | This shows how two symbols at the same address are handled. llvm-svn: 240374
* Fix tests when X86 is not enabled.Rafael Espindola2015-06-232-0/+2
| | | | llvm-svn: 240368
* Compute correct symbol sizes for MachO and COFF.Rafael Espindola2015-06-231-0/+44
| | | | | | Before this would dump from the symbol start to the end of the section. llvm-svn: 240367
* llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdumpDavid Majnemer2015-03-155-0/+316
llvm-vtabledump has grown enough functionality not related to vtables that it deserves a name which is more descriptive. llvm-svn: 232301
OpenPOWER on IntegriCloud