[all-commits] [llvm/llvm-project] c781e7: [yaml2obj] - Add a way to exclude specified sectio...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Thu Jun 4 03:51:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c781e7370e9b408f27996175fcf07b02905e6db4
      https://github.com/llvm/llvm-project/commit/c781e7370e9b408f27996175fcf07b02905e6db4
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-06-04 (Thu, 04 Jun 2020)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/ELFYAML.h
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    A llvm/test/tools/yaml2obj/ELF/section-headers-exclude.yaml
    M llvm/test/tools/yaml2obj/ELF/section-headers.yaml

  Log Message:
  -----------
  [yaml2obj] - Add a way to exclude specified sections from the section header.

This implements a new "Excluded" key that can be used
to exclude entries from section header:

```
SectionHeaderTable:
  Sections:
    ...
  Excluded:
    - Name: .foo
```

Differential revision: https://reviews.llvm.org/D81005




More information about the All-commits mailing list