Rui Ueyama
82ebd8e36d
readobj: Dump PE/COFF optional records.
...
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
2013-06-12 19:10:33 +00:00
Rafael Espindola
e2e741ecdd
Print symbol names in relocations when dumping COFF as YAML.
...
llvm-svn: 183403
2013-06-06 13:06:17 +00:00
Rafael Espindola
8e71301637
Move BinaryRef to a new include/llvm/Object/YAML.h file.
...
It will be used for ELF dumping too.
llvm-svn: 183287
2013-06-05 02:32:26 +00:00
Rafael Espindola
3f1c99a67c
Rename COFFYaml.h to COFFYAML.h for consistency.
...
llvm-svn: 183042
2013-05-31 20:38:27 +00:00
Rafael Espindola
a3310e0b9e
Don't allocate temporary string for section data.
...
llvm-svn: 183040
2013-05-31 20:26:44 +00:00
Rafael Espindola
c823f00ed1
Use std::list so that we have a stable iterator.
...
I will try to avoid creating these std::strings, but for now this gets
the tests passing with libc++.
llvm-svn: 182405
2013-05-21 18:53:50 +00:00
Rafael Espindola
f5bb53f19f
Convert obj2yaml to use yamlio.
...
llvm-svn: 182169
2013-05-17 22:58:42 +00:00
Rafael Espindola
b1a19a8a0f
Remove dead code.
...
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
2013-04-20 11:06:34 +00:00
Rafael Espindola
4ef5ed769e
These can be void.
...
llvm-svn: 179923
2013-04-20 03:33:09 +00:00
Rafael Espindola
9225772c6e
Rename obj2yaml local namespace to avoid conflicts with llvm::yaml.
...
llvm-svn: 179922
2013-04-20 03:16:59 +00:00
Rafael Espindola
02c0780f08
Remove local namespace yaml to avoid confusion with llvm::yaml.
...
llvm-svn: 179921
2013-04-20 03:13:00 +00:00
Rafael Espindola
a5497efe93
Small obj2yaml cleanups.
...
* using namespace llvm.
* whitespace.
* early return.
llvm-svn: 179920
2013-04-20 02:55:00 +00:00
Chandler Carruth
3fa99abfae
Remove a global 'endl' variable from the other file as well.
...
llvm-svn: 179010
2013-04-08 08:55:18 +00:00
Rafael Espindola
87a0290941
Move obj2yaml to tools to sort out make's dependencies.
...
llvm-svn: 178835
2013-04-05 02:57:22 +00:00