summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-size/basic.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-size][test] Improve llvm-size testingJames Henderson2019-08-141-2/+0
| | | | | | | | | | | | | | | | | | | | | This patch significantly improves the llvm-size testing. The changes made are: 1) Change all tests to use yaml2obj instead of assembly or pre-canned inputs. 2) Move the tests out of the X86 directory, since they don't need to be there after 1). 3) Increased test coverage. 4) Added comments to explain purpose of tests. I haven't attempted to add test coverage for all Mach-O related code, as I am not familiar enough with that file format to be able to. Reviewers: grimar, MaskRay Differential Revision: https://reviews.llvm.org/D66134 llvm-svn: 368821
* 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] Make error handling uniform.Davide Italiano2016-02-131-1/+1
| | | | llvm-svn: 260786
* Revert "Correct size calculations for ELF files"Rafael Espindola2016-02-091-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
* Correct size calculations for ELF filesHemant Kulkarni2016-02-021-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