summaryrefslogtreecommitdiffstats
path: root/llvm/tools/obj2yaml
Commit message (Collapse)AuthorAgeFilesLines
...
* [C++11] Replace OwningPtr::take() with OwningPtr::release().Ahmed Charles2014-03-051-1/+1
| | | | llvm-svn: 202957
* Change the begin and end methods in ObjectFile to match the style guide.Rafael Espindola2014-02-101-6/+6
| | | | llvm-svn: 201108
* llvm/tools: Prune redundant target_link_libraries.NAKAMURA Takumi2014-01-311-2/+0
| | | | llvm-svn: 200559
* Simplify the handling of iterators in ObjectFile.Rafael Espindola2014-01-301-7/+3
| | | | | | | | | | | | None of the object file formats reported error on iterator increment. In retrospect, that is not too surprising: no object format stores symbols or sections in a linked list or other structure that requires chasing pointers. As a consequence, all error checking can be done on begin() and end(). This reduces the text segment of bin/llvm-readobj in my machine from 521233 to 518526 bytes. llvm-svn: 200442
* [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.NAKAMURA Takumi2013-12-101-1/+4
| | | | llvm-svn: 196908
* Remove several unused variables.Rafael Espindola2013-10-011-1/+0
| | | | | | Patch by Alp Toker. llvm-svn: 191757
* Don't link with the archive library programs that don't use it.Rafael Espindola2013-06-171-1/+1
| | | | llvm-svn: 184081
* readobj: Dump PE/COFF optional records.Rui Ueyama2013-06-121-1/+1
| | | | | | | | | | | | These records are mandatory for executables and are used by the loader. Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D939 llvm-svn: 183852
* Print symbol names in relocations when dumping COFF as YAML.Rafael Espindola2013-06-061-3/+5
| | | | llvm-svn: 183403
* Move BinaryRef to a new include/llvm/Object/YAML.h file.Rafael Espindola2013-06-051-2/+2
| | | | | | It will be used for ELF dumping too. llvm-svn: 183287
* Remove dead code.Rafael Espindola2013-06-032-44/+0
| | | | | | Thanks to Sean Silva for noticing it! llvm-svn: 183148
* Rename COFFYaml.h to COFFYAML.h for consistency.Rafael Espindola2013-05-311-1/+1
| | | | llvm-svn: 183042
* Don't allocate temporary string for section data.Rafael Espindola2013-05-311-18/+2
| | | | llvm-svn: 183040
* Use std::list so that we have a stable iterator.Rafael Espindola2013-05-211-1/+3
| | | | | | | I will try to avoid creating these std::strings, but for now this gets the tests passing with libc++. llvm-svn: 182405
* Convert obj2yaml to use yamlio.Rafael Espindola2013-05-171-305/+83
| | | | llvm-svn: 182169
* Remove dead code.Rafael Espindola2013-04-201-4/+0
| | | | | | | | | This is part of a future patch to use yamlio that incorrectly ended up in a cleanup patch. Thanks to Benjamin Kramer for reporting it. llvm-svn: 179938
* These can be void.Rafael Espindola2013-04-201-12/+7
| | | | llvm-svn: 179923
* Rename obj2yaml local namespace to avoid conflicts with llvm::yaml.Rafael Espindola2013-04-203-7/+7
| | | | llvm-svn: 179922
* Remove local namespace yaml to avoid confusion with llvm::yaml.Rafael Espindola2013-04-201-8/+6
| | | | llvm-svn: 179921
* Small obj2yaml cleanups.Rafael Espindola2013-04-201-69/+76
| | | | | | | | * using namespace llvm. * whitespace. * early return. llvm-svn: 179920
* Remove a global 'endl' variable from the other file as well.Chandler Carruth2013-04-081-25/+22
| | | | llvm-svn: 179010
* Clean up namespaces in obj2yaml.cpp.Chandler Carruth2013-04-081-11/+12
| | | | llvm-svn: 179009
* Cleanup the formatting of obj2yaml.cpp.Chandler Carruth2013-04-081-22/+23
| | | | | | | | I couldn't touch this file and not clean it up some. These reformattings brought to you by clang-format, with some minor adjustments by me. More spring cleaning to follow here. llvm-svn: 179004
* Don't define our own global 'endl' variable. While technically it hadChandler Carruth2013-04-081-5/+3
| | | | | | | | | | | | | | | | | | internal linkage and so wasn't a patent bug, it doesn't make any sense here. We can avoid even calling operator<< by just embedding the newline in the string literals that were already being streamed out. It also gives the impression of some line-ending agnosticisms which is not present, and that flushing happens when it doesn't. If we want to use std::endl, we could do that, but honestly it doesn't seem remotely worth it. Using '\n' directly is much more clear when working with raw_ostream. It also happens to fix builds with old crufty GCC STL implementations that include std::endl into the global namespace (or headers written to be compatible with such atrocities). llvm-svn: 179003
* Fix include guards to match new location.Rafael Espindola2013-04-051-2/+2
| | | | llvm-svn: 178877
* Move obj2yaml to tools to sort out make's dependencies.Rafael Espindola2013-04-055-0/+508
llvm-svn: 178835
OpenPOWER on IntegriCloud