| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"isText" section methods to calculate size correctly.
Summary:
llvm-size uses "isText()" etc. which seem to indicate whether the section contains code-like things, not whether or not it will actually go in the text segment when in a fully linked executable.
The unit test added (elf-sizes.test) shows some types of sections that cause discrepencies versus the GNU size tool. llvm-size is not correctly reporting sizes of things mapping to text/data segments, at least for ELF files.
This fixes pr38723.
Reviewers: echristo, Bigcheese, MaskRay
Reviewed By: MaskRay
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D54369
llvm-svn: 349074
|
| |
|
|
|
|
| |
This matches GNU behavior for size and allows use of cut to parse the output of llvm-size.
llvm-svn: 342791
|
| |
|
|
|
|
| |
the file names.
llvm-svn: 288402
|
| |
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D24308
llvm-svn: 281233
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
rdar://26027819
llvm-svn: 268313
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D16820
llvm-svn: 264591
|
| |
|
|
| |
llvm-svn: 260786
|
| |
|
|
|
|
|
| |
But now it follows the llvm style, uses an early return and doesn't
include a file named 1.o.
llvm-svn: 260293
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 259578
|
| |
|
|
| |
llvm-svn: 249247
|
|
|
This was the last tool relying on this pattern.
llvm-svn: 249244
|