[PATCH] D32587: Add llvm::object::getELFSectionTypeName()

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 04:00:05 PDT 2017


arichardson created this revision.

This is motivated by https://reviews.llvm.org/D32488 where I am trying to
add printing of the section type for incompatible sections to LLD error
messages. This patch allows us to use the same code in llvm-readobj and
LLD instead of duplicating the function inside LLD.


Repository:
  rL LLVM

https://reviews.llvm.org/D32587

Files:
  include/llvm/Object/ELF.h
  lib/Object/ELF.cpp
  tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32587.96893.patch
Type: text/x-patch
Size: 6105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170427/820702a9/attachment.bin>


More information about the llvm-commits mailing list