summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-size
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug with llvm-size and the -m option with multiple files not printing ↵Kevin Enderby2016-12-012-0/+4
| | | | | | the file names. llvm-svn: 288402
* llvm-size: Add --totals optionHemant Kulkarni2016-09-121-1/+2
| | | | | | Differential Revision: https://reviews.llvm.org/D24308 llvm-svn: 281233
* Add the first of what will be a long line of additional error checks for ↵Kevin Enderby2016-08-051-1/+1
| | | | | | | | | | | | | invalid Mach-O files. This is where an LC_SEGMENT load command has a fileoff field that extends past the end of the file. Also fix llvm-nm and llvm-size to remove the errorToErrorCode() call so error messages are printed. And needed to update a few test cases now that they do print the error messages just a bit differently. llvm-svn: 277845
* Fix llvm-size to exit with non zero when it can’t open a file.Kevin Enderby2016-05-021-1/+1
| | | | | | rdar://26027819 llvm-svn: 268313
* [llvm-size] Implement --common optionHemant Kulkarni2016-03-281-0/+29
| | | | | | Differential Revision: http://reviews.llvm.org/D16820 llvm-svn: 264591
* [llvm-size] Make error handling uniform.Davide Italiano2016-02-131-1/+1
| | | | llvm-svn: 260786
* This brings back commit r259578.Rafael Espindola2016-02-092-0/+30
| | | | | | | But now it follows the llvm style, uses an early return and doesn't include a file named 1.o. llvm-svn: 260293
* Revert "Correct size calculations for ELF files"Rafael Espindola2016-02-092-26/+0
| | | | | | | | | This reverts commit r259578. There are enough issues with this small patch that it is better to revert and then commit a fixed version (will be committed shortly). llvm-svn: 260285
* Fix a formatting problems with llvm-size and the -m option.Kevin Enderby2016-02-092-0/+7
| | | | | | | | | | It was using format() with a string for 64-bit types but was passed a 32-bit type in places when printing values for 32-bit Mach-O files. rdar://24542509 llvm-svn: 260243
* Correct size calculations for ELF filesHemant Kulkarni2016-02-022-0/+26
| | | | llvm-svn: 259578
* [llvm-size] Attempt to fix a test failure on Windows.Davide Italiano2015-10-031-1/+1
| | | | llvm-svn: 249247
* [llvm-size] Fix time to check if time of use bug.Davide Italiano2015-10-031-0/+2
This was the last tool relying on this pattern. llvm-svn: 249244
OpenPOWER on IntegriCloud