[PATCH] D68018: [yaml2elf] - Support describing .stack_sizes sections using unique suffixes.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 04:12:39 PDT 2019


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.

Currently we can't use unique suffixes in section names to describe
stack sizes sections. E.g. '.stack_sizes [1]' will be treated as a regular section.
This happens because we recognize stack sizes section by name and
do not yet drop the suffix before the check.

The patch fixes it.


https://reviews.llvm.org/D68018

Files:
  include/llvm/ObjectYAML/ELFYAML.h
  lib/ObjectYAML/ELFEmitter.cpp
  lib/ObjectYAML/ELFYAML.cpp
  test/tools/yaml2obj/elf-stack-sizes.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68018.221717.patch
Type: text/x-patch
Size: 4215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190925/84b014e3/attachment.bin>


More information about the llvm-commits mailing list