summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cxxdump
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-cxxdump] Don't rely on global stateDavide Italiano2015-07-171-41/+18
| | | | | | Differential Revision: http://reviews.llvm.org/D11227 llvm-svn: 242509
* Return ErrorOr from getSymbolAddress.Rafael Espindola2015-07-031-2/+3
| | | | | | | It can fail trying to get the section on ELF and COFF. This makes sure the error is handled. llvm-svn: 241366
* Return ErrorOr from SymbolRef::getName.Rafael Espindola2015-07-021-8/+9
| | | | | | | | | | | | This function can really fail since the string table offset can be out of bounds. Using ErrorOr makes sure the error is checked. Hopefully a lot of the boilerplate code in tools/* can go away once we have a diagnostic manager in Object. llvm-svn: 241297
* Don't return error_code from function that never fails.Rafael Espindola2015-06-291-6/+2
| | | | llvm-svn: 241021
* Make computeSymbolSizes never fail.Rafael Espindola2015-06-241-4/+2
| | | | | | | | | | | On ELF that was already the case since getting the size of a symbol never fails. On MachO and COFF we could fail trying to get the section of a symbol. But we don't really need the section, just the section number to know if two symbols are in the same section or not. llvm-svn: 240580
* Compute correct symbol sizes for MachO and COFF.Rafael Espindola2015-06-231-2/+9
| | | | | | Before this would dump from the symbol start to the end of the section. llvm-svn: 240367
* Simplify another function that doesn't fail.Rafael Espindola2015-06-011-2/+3
| | | | llvm-svn: 238703
* Change range-based for-loop to use const auto&. No functionality change.Richard Trieu2015-04-151-16/+11
| | | | llvm-svn: 234974
* Change range-based for-loops to be -Wrange-loop-analysis clean.Richard Trieu2015-04-151-13/+16
| | | | | | No functionality change. llvm-svn: 234963
* Purge unused includes throughout libSupport.Benjamin Kramer2015-03-231-0/+1
| | | | | | NFC. llvm-svn: 232976
* llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdumpDavid Majnemer2015-03-157-0/+725
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