[PATCH] D37391: [yaml2obj][ELF] Add support for symbol indexes greater than SHN_LORESERVE

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 14:28:26 PDT 2017


jakehehrlich updated this revision to Diff 113601.
jakehehrlich added a comment.

1. Added support for the rest of the SHN_* values in ELF.h
2. An error should now be thrown if the user tries to use SHN_XINDEX


Repository:
  rL LLVM

https://reviews.llvm.org/D37391

Files:
  include/llvm/ObjectYAML/ELFYAML.h
  lib/ObjectYAML/ELFYAML.cpp
  test/tools/yaml2obj/symbol-index-invalid.yaml
  test/tools/yaml2obj/symbol-index.yaml
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37391.113601.patch
Type: text/x-patch
Size: 5757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/e3fa95e6/attachment.bin>


More information about the llvm-commits mailing list