1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/obj2yaml
Xing GUO 120aef86f5 [DWARFYAML][debug_gnu_*] Add the missing context IsGNUStyle. NFC.
This patch helps add the missing context `IsGNUStyle`. Before this patch, yaml2obj cannot parse the YAML description of 'debug_gnu_pubnames' and 'debug_gnu_pubtypes' correctly due to the missing context.

In other words, if we have

```
DWARF:
  debug_gnu_pubtypes:
    Length:
      TotalLength: 0x1234
    Version:    2
    UnitOffset: 0x1234
    UnitSize:   0x4321
    Entries:
      - DieOffset:  0x12345678
        Name:       abc
        Descriptor: 0x00      ## Descriptor can never be mapped into Entry.Descriptor
```

yaml2obj will complain that "error: unknown key 'Descriptor'".

This patch helps resolve this problem.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D82435
2020-07-03 18:12:58 +08:00
..
CMakeLists.txt
coff2yaml.cpp Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07:00
dwarf2yaml.cpp [DWARFYAML][debug_gnu_*] Add the missing context IsGNUStyle. NFC. 2020-07-03 18:12:58 +08:00
elf2yaml.cpp Add explicit Twine.h include to try and fix ICE on clang-ppc64be-linux 2020-06-26 14:14:09 +01:00
Error.cpp
Error.h
macho2yaml.cpp [ObjectYAML][MachO] Add support for relocations 2020-04-22 11:50:55 -07:00
minidump2yaml.cpp
obj2yaml.cpp
obj2yaml.h
wasm2yaml.cpp [WebAssembly] Move event section before global section 2020-03-25 11:49:03 -07:00
xcoff2yaml.cpp