Kevin Enderby
64f7a995b0
Fix llvm-size to exit with non zero when it can’t open a file.
...
rdar://26027819
llvm-svn: 268313
2016-05-02 21:41:03 +00:00
Hemant Kulkarni
274457e5e8
[llvm-size] Implement --common option
...
Differential Revision: http://reviews.llvm.org/D16820
llvm-svn: 264591
2016-03-28 16:48:10 +00:00
Davide Italiano
ff11b90752
[llvm-size] Make error handling uniform.
...
llvm-svn: 260786
2016-02-13 01:38:16 +00:00
Rafael Espindola
a0ff556aa1
This brings back commit r259578.
...
But now it follows the llvm style, uses an early return and doesn't
include a file named 1.o.
llvm-svn: 260293
2016-02-09 21:39:49 +00:00
Rafael Espindola
77f6c46922
Revert "Correct size calculations for ELF files"
...
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
2016-02-09 21:30:10 +00:00
Kevin Enderby
2058e9dff0
Fix a formatting problems with llvm-size and the -m option.
...
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
2016-02-09 18:33:15 +00:00
Hemant Kulkarni
782edae7d6
Correct size calculations for ELF files
...
llvm-svn: 259578
2016-02-02 21:41:49 +00:00
Davide Italiano
4961936d1a
[llvm-size] Attempt to fix a test failure on Windows.
...
llvm-svn: 249247
2015-10-03 20:20:28 +00:00
Davide Italiano
f0acbbfd96
[llvm-size] Fix time to check if time of use bug.
...
This was the last tool relying on this pattern.
llvm-svn: 249244
2015-10-03 19:44:06 +00:00