1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/obj2yaml
Georgii Rymar 19ffcd1328 [yaml2obj/obj2yaml] - Add support for SHT_LLVM_DEPENDENT_LIBRARIES sections.
This section contains strings specifying libraries to be added to the link by the linker.
The strings are encoded as standard null-terminated UTF-8 strings.

This patch adds a way to describe and dump SHT_LLVM_DEPENDENT_LIBRARIES sections.

I introduced a new YAMLFlowString type here. That used to teach obj2yaml to dump
them like:

```
Libraries: [ foo, bar ]
```

instead of the following (if StringRef would be used):

```
Libraries:
  - foo
  - bar
```

Differential revision: https://reviews.llvm.org/D70598
2019-11-25 12:57:53 +03:00
..
CMakeLists.txt
coff2yaml.cpp
dwarf2yaml.cpp
elf2yaml.cpp [yaml2obj/obj2yaml] - Add support for SHT_LLVM_DEPENDENT_LIBRARIES sections. 2019-11-25 12:57:53 +03:00
Error.cpp
Error.h Obj2YamlError - fix uninitialized variable warning. NFCI. 2019-11-08 16:26:20 +00:00
macho2yaml.cpp
minidump2yaml.cpp
obj2yaml.cpp
obj2yaml.h
wasm2yaml.cpp [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
xcoff2yaml.cpp