llvm-project/llvm/lib/BinaryFormat
Nicolas Miller 85f4023e73 [COFF] Move section name encoding into BinaryFormat
Large COFF section names are moved into the string table and the
section header field is the offset into the string table encoded in
ASCII for offset smaller than 7 digits and in base64 for larger
offsets.

The operation of taking the string table offsets is done in a few
places in the codebase, so it is helpful to move this operation into
`BinaryFormat` so that it can be shared everywhere it's done.

So this patch takes the implementation of this operation from
`llvm/lib/MC/WinCOFFObjectWriter.cpp` and moves it into `BinaryFormat`.

Reviewed By: jhenderson, rnk

Differential Revision: https://reviews.llvm.org/D118793
2022-02-21 13:50:56 +02:00
..
AMDGPUMetadataVerifier.cpp AMDGPU {NFC}: Add code object v5 support and generate metadata for implicit kernel args 2022-01-31 18:07:47 -08:00
CMakeLists.txt [COFF] Move section name encoding into BinaryFormat 2022-02-21 13:50:56 +02:00
COFF.cpp [COFF] Move section name encoding into BinaryFormat 2022-02-21 13:50:56 +02:00
Dwarf.cpp Reapply "[DebugInfo] Add new instruction and DIExpression operator for variadic debug values" 2021-03-05 12:32:05 +00:00
ELF.cpp Cleanup headers for BinaryFormat 2022-01-26 13:44:32 +01:00
MachO.cpp [Triple][MachO] Define "arm64e", an AArch64 subarch for Pointer Auth. 2020-12-03 07:53:59 -08:00
Magic.cpp Cleanup headers for BinaryFormat 2022-01-26 13:44:32 +01:00
Minidump.cpp
MsgPackDocument.cpp
MsgPackDocumentYAML.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
MsgPackReader.cpp MsgPackReader.cpp - add missing implicit MathExtras.h header dependency. NFCI. 2021-06-05 18:05:40 +01:00
MsgPackWriter.cpp
Wasm.cpp [WebAssembly] Support R_WASM_MEMORY_ADDR_TLS_SLEB64 for wasm64 2021-07-19 10:22:43 -07:00
XCOFF.cpp [AIX][XCOFF][Bug-Fixed] parse the parameter type of the traceback table 2021-07-15 16:54:22 -04:00