Add accessor to get 'visibility' part of st_other field
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 5 Nov 2014 20:47:35 +0000 (20:47 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 5 Nov 2014 20:47:35 +0000 (20:47 +0000)
commit5563be0f4fbdb84334e25cd0b72e40a6b560390d
tree3734cadcdd99a87a2912c280631de1037b647c7a
parent65c79795559fc8224f4a65890736e81d1d4bf714
Add accessor to get 'visibility' part of st_other field

This new `getVisibility()` function will also be used in the LLD code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221392 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFTypes.h
tools/obj2yaml/elf2yaml.cpp