[PATCH] llvm-readobj: COFF/ELF-specific low-level output
Nico Rieck
nico.rieck at gmail.com
Wed Mar 20 11:37:26 PDT 2013
- Fixed all warnings (as reported by GCC 4.7.2).
- Added tests for -file-headers, -sections, -symbols, -relocations,
-section-symbols, -section-relocations, -section-data.
The ELF-specific options (-dynamic-table, -dyn-symbols, -needed-libs)
are already covered by test/Object/readobj*.test (should these be
moved?).
To make these tests less brittle they use already-compiled object
files. Source and instructions to compile them is included.
Hi Bigcheese, echristo, dblaikie,
http://llvm-reviews.chandlerc.com/D416
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D416?vs=1267&id=1331#toc
Files:
include/llvm/Object/ELF.h
include/llvm/Support/COFF.h
include/llvm/Support/Win64EH.h
test/Object/Mips/feature.test
test/tools/llvm-readobj/Inputs/trivial.ll
test/tools/llvm-readobj/Inputs/trivial.obj.coff-i386
test/tools/llvm-readobj/Inputs/trivial.obj.coff-x86-64
test/tools/llvm-readobj/Inputs/trivial.obj.elf-i386
test/tools/llvm-readobj/Inputs/trivial.obj.elf-x86-64
test/tools/llvm-readobj/Inputs/trivial.obj.macho-i386
test/tools/llvm-readobj/Inputs/trivial.obj.macho-x86-64
test/tools/llvm-readobj/file-headers.test
test/tools/llvm-readobj/lit.local.cfg
test/tools/llvm-readobj/relocations.test
test/tools/llvm-readobj/sections-ext.test
test/tools/llvm-readobj/sections.test
test/tools/llvm-readobj/symbols.test
tools/llvm-readobj/CMakeLists.txt
tools/llvm-readobj/COFFDumper.cpp
tools/llvm-readobj/ELF.cpp
tools/llvm-readobj/ELFDumper.cpp
tools/llvm-readobj/Error.cpp
tools/llvm-readobj/Error.h
tools/llvm-readobj/MachODumper.cpp
tools/llvm-readobj/ObjDumper.cpp
tools/llvm-readobj/ObjDumper.h
tools/llvm-readobj/StreamWriter.cpp
tools/llvm-readobj/StreamWriter.h
tools/llvm-readobj/llvm-readobj.cpp
tools/llvm-readobj/llvm-readobj.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D416.4.patch
Type: text/x-patch
Size: 142833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130320/9e826eb0/attachment.bin>
More information about the llvm-commits
mailing list