summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/ELFDump.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-objdump] Add dynamic section printing to private-headers optionPaul Semel2018-07-251-0/+89
| | | | | | Differential Revision: https://reviews.llvm.org/D49016 llvm-svn: 337902
* Remove \brief commands from doxygen comments.Adrian Prantl2018-05-011-1/+1
| | | | | | | | | | | | | | | | We've been running doxygen with the autobrief option for a couple of years now. This makes the \brief markers into our comments redundant. Since they are a visual distraction and we don't want to encourage more \brief markers in new code either, this patch removes them all. Patch produced by for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done Differential Revision: https://reviews.llvm.org/D46290 llvm-svn: 331272
* [llvm-objdump] Dump PT_NOTE as part of -p.Davide Italiano2017-01-161-0/+3
| | | | | PR: 31641 llvm-svn: 292170
* [llvm-objdump] Dump PT_GNU_RELRO as part of -p.Davide Italiano2017-01-161-0/+3
| | | | | PR: 31641 llvm-svn: 292169
* [llvm-objdump] Dump PT_OPENBSD_{BOOTDATA,RANDOMIZE,WXNEEDED}.Davide Italiano2017-01-161-0/+9
| | | | | PR: 31641 llvm-svn: 292167
* llvm-objdump: sort phdr type strings in advance of adding new onesEd Maste2016-12-241-7/+7
| | | | llvm-svn: 290494
* [ELF] Convert ELF.h to Expected<T>.Davide Italiano2016-11-161-2/+3
| | | | | | | | | | | | This has two advantages: 1) We slowly move away from ErrorOr to the new handling interface, in the hope of having an uniform error handling in LLVM, eventually. 2) We're starting to have *meaningful* error messages for invalid object ELF files, rather than a generic "parse error". At some point we should include also the offset to improve the quality of the diagnostic. llvm-svn: 287081
* Replace a report_fatal_error with an ErrorOr.Rafael Espindola2016-11-031-1/+4
| | | | llvm-svn: 285942
* Simplify iterating over program headers and detect corrupt ones.Rafael Espindola2015-07-201-20/+12
| | | | | | We now use a simple pointer and have range loops. llvm-svn: 242669
* Fix the name of the iterator functions to match the coding standards.Rafael Espindola2015-06-301-3/+3
| | | | llvm-svn: 241074
* [Object] Split the ELF interface into 3 parts.Michael J. Spencer2013-08-081-9/+7
| | | | | | | | * ELFTypes.h contains template magic for defining types based on endianess, size, and alignment. * ELFFile.h defines the ELFFile class which provides low level ELF specific access. * ELFObjectFile.h contains ELFObjectFile which uses ELFFile to implement the ObjectFile interface. llvm-svn: 188022
* Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer2013-05-241-1/+1
| | | | llvm-svn: 182680
* Introduce convenience typedefs for the 4 ELF object types.Rafael Espindola2013-05-091-8/+4
| | | | llvm-svn: 181509
* print TLS segmentShankar Easwaran2013-02-271-0/+3
| | | | llvm-svn: 176192
* [objdump] Add PT_PHDR.Michael J. Spencer2013-02-211-0/+3
| | | | llvm-svn: 175709
* [objdump] Print the PT_INTERP and PT_DYNAMIC correcctly.Michael J. Spencer2013-02-201-0/+6
| | | | llvm-svn: 175659
* Sort all of the includes. Several files got checked in with mis-sortedChandler Carruth2013-01-191-1/+0
| | | | | | includes. llvm-svn: 172891
* [Object][ELF] Simplify ELFObjectFile by using ELFType.Michael J. Spencer2013-01-151-12/+12
| | | | | | | | | | | | | This simplifies the usage and implementation of ELFObjectFile by using ELFType to replace: <endianness target_endianness, std::size_t max_alignment, bool is64Bits> This does complicate the base ELF types as they must now use template template parameters to partially specialize for the 32 and 64bit cases. However these are only defined once. llvm-svn: 172515
* [objdump] Use correct format specifiers and fix C++03 variadic warning.Michael J. Spencer2013-01-061-6/+8
| | | | llvm-svn: 171651
* [objdump] Add --private-headers, -p.Michael J. Spencer2013-01-061-0/+87
This currently prints the ELF program headers. llvm-svn: 171649
OpenPOWER on IntegriCloud