[PATCH] D63394: [yaml2obj][ELF] Suport STT_LOOS, STT_HIOS, STT_LOPROC and STT_HIPROC.

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 16 18:19:35 PDT 2019


ychen created this revision.
ychen added reviewers: jhenderson, grimar, MaskRay, rupprecht.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Needed for https://reviews.llvm.org/D62964


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63394

Files:
  llvm/lib/ObjectYAML/ELFYAML.cpp


Index: llvm/lib/ObjectYAML/ELFYAML.cpp
===================================================================
--- llvm/lib/ObjectYAML/ELFYAML.cpp
+++ llvm/lib/ObjectYAML/ELFYAML.cpp
@@ -586,6 +586,10 @@
   ECase(STT_COMMON);
   ECase(STT_TLS);
   ECase(STT_GNU_IFUNC);
+  ECase(STT_LOOS);
+  ECase(STT_HIOS);
+  ECase(STT_LOPROC);
+  ECase(STT_HIPROC);
 #undef ECase
   IO.enumFallback<Hex8>(Value);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63394.204983.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/57b2e049/attachment.bin>


More information about the llvm-commits mailing list