diff options
| author | Petr Hosek <phosek@chromium.org> | 2017-08-01 23:46:33 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2017-08-01 23:46:33 +0000 |
| commit | 0e60b2e777d49a79f42f52b907bfd119a4435174 (patch) | |
| tree | 6768d09736c233053e4b2847dbac10c651f2ca42 /llvm/lib/Object/IRObjectFile.cpp | |
| parent | da0edef1bd7b2526faebdaa1aa9924a70f91aa66 (diff) | |
| download | bcm5719-llvm-0e60b2e777d49a79f42f52b907bfd119a4435174.tar.gz bcm5719-llvm-0e60b2e777d49a79f42f52b907bfd119a4435174.zip | |
Reland "[llvm][llvm-objcopy] Added support for outputting to binary in llvm-objcopy"
This change adds the "-O binary" flag which directs llvm-objcopy to
output the object file to the same format as GNU objcopy does when given
the flag "-O binary". This was done by splitting the Object class into
two subclasses ObjectELF and ObjectBianry which each output a different
format but relay on the same code to read in the Object in Object.
Patch by Jake Ehrlich
Differential Revision: https://reviews.llvm.org/D34480
llvm-svn: 309768
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

