[all-commits] [llvm/llvm-project] 22ec86: [DWARFYAML] Add support for emitting custom range ...

Xing GUO via All-commits all-commits at lists.llvm.org
Tue Jul 28 07:11:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 22ec861d28c0aa0cdf76b9618151b9ee87ba2221
      https://github.com/llvm/llvm-project/commit/22ec861d28c0aa0cdf76b9618151b9ee87ba2221
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/ObjectYAML/DWARFEmitter.cpp
    M llvm/lib/ObjectYAML/DWARFYAML.cpp
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-rnglists.yaml

  Log Message:
  -----------
  [DWARFYAML] Add support for emitting custom range list content.

This patch adds support for emitting custom range list content.

We are able to handcraft a custom range list via the following syntax.

```
debug_rnglists:
  - Lists:
      - Entries:
          - Operator: DW_RLE_startx_endx
            Values:   [ 0x1234, 0x1234 ]
      - Content: '1234567890abcdef'
      - Content: 'abcdef1234567890'
```

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D84618




More information about the All-commits mailing list