[PATCH] D61767: [llvm-elfabi] Emit ELF header and string table section
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 9 15:55:17 PDT 2019
jakehehrlich created this revision.
jakehehrlich added reviewers: jhenderson, MaskRay, plotfi, phosek, amontanez, ruiu, echristo.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This change serves to create the initial framework for outputting ELF files from llvm-elfabi.
Sorry this is so large but this, perhaps short of the code for outputting the string table, is about as small of a setup as I can get and still have something testable. You can see the full picture here: https://reviews.llvm.org/D55864. Had I tried to get to exactly this point more directly and not by splitting it probably wouldn't be quite as large or generically written but if possible I'd like to keep some of the generality here since I'll likely add it back soon.
Repository:
rL LLVM
https://reviews.llvm.org/D61767
Files:
llvm/test/tools/llvm-elfabi/binary-write-sheaders.test
llvm/test/tools/llvm-elfabi/invalid-bin-target.test
llvm/test/tools/llvm-elfabi/missing-bin-target.test
llvm/test/tools/llvm-elfabi/write-elf32be-ehdr.test
llvm/test/tools/llvm-elfabi/write-elf32le-ehdr.test
llvm/test/tools/llvm-elfabi/write-elf64be-ehdr.test
llvm/test/tools/llvm-elfabi/write-elf64le-ehdr.test
llvm/tools/llvm-elfabi/ELFObjHandler.cpp
llvm/tools/llvm-elfabi/ELFObjHandler.h
llvm/tools/llvm-elfabi/llvm-elfabi.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61767.198930.patch
Type: text/x-patch
Size: 26970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190509/d119172d/attachment.bin>
More information about the llvm-commits
mailing list