Georgii Rymar
ffbce65f95
[lib/Object, tools] - Make ELFObjectFile::getELFFile return reference.
...
We always have an object, so we don't have to return a pointer.
Differential revision: https://reviews.llvm.org/D92560
2020-12-04 16:02:29 +03:00
Haowei Wu
803745b945
[llvm-elfabi] Emit ELF .dynsym, .dynamic sections
...
This change makes llvm-elfabi tool to emit .dynsym and .dynamic
sections.
Differential Revision: https://reviews.llvm.org/D89432
2020-11-24 00:17:04 -08:00
Haowei Wu
cf43308718
[llvm-elfabi] Emit ELF header and string table sections
...
This change serves to create the initial framework for outputting ELF
files from llvm-elfabi.
Differential Revision: https://reviews.llvm.org/D61767
2020-11-23 12:18:58 -08:00
Haowei Wu
ae736d2957
Revert "[llvm-elfabi] Emit ELF header and string table sections"
...
This reverts commit 53c5fdd59a
.
Reason of revert: Some builders failed to build with ld.
2020-11-23 11:58:51 -08:00
Haowei Wu
53c5fdd59a
[llvm-elfabi] Emit ELF header and string table sections
...
This change serves to create the initial framework for outputting ELF
files from llvm-elfabi.
Differential Revision: https://reviews.llvm.org/D61767
2020-11-23 11:31:57 -08:00
Georgii Rymar
4845531fa8
[lib/Object] - Refine interface of ELFFile<ELFT>. NFCI.
...
`ELFFile<ELFT>` has many methods that take pointers,
though they assume that arguments are never null and
hence could take references instead.
This patch performs such clean-up.
Differential revision: https://reviews.llvm.org/D87385
2020-09-15 11:38:31 +03:00
Haowei Wu
d650cbc349
[elfabi] Move llvm-elfabi related code to InterfaceStub library
...
This change moves elfabi related code to llvm/InterfaceStub library
so it can be shared by multiple llvm tools without causing cyclic
dependencies.
Differential Revision: https://reviews.llvm.org/D85678
2020-08-13 11:51:44 -07:00