summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/obj2yaml.test
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-02-22 08:45:21 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-02-22 08:45:21 +0000
commit11358dd65d29a7ae50861aa5711092d7e9dd66d0 (patch)
tree28ffe2cba36a31f0b881dc4e6248e1a7cd738dff /llvm/test/Object/obj2yaml.test
parent151100787d35ebdba8584f3c3df7b9db33749190 (diff)
downloadbcm5719-llvm-11358dd65d29a7ae50861aa5711092d7e9dd66d0.tar.gz
bcm5719-llvm-11358dd65d29a7ae50861aa5711092d7e9dd66d0.zip
[obj2yaml] - Do not miss section index for special symbols.
This fixes https://bugs.llvm.org/show_bug.cgi?id=40786 ("obj2yaml symbol output missing section index for SHN_ABS and SHN_COMMON symbols") Since SHN_ABS and SHN_COMMON symbols are special, we should preserve the st_shndx for them. The patch does this for them and the other special symbols. The test case is based on the test provided by James Henderson at the bug page! Differential revision: https://reviews.llvm.org/D58498 llvm-svn: 354661
Diffstat (limited to 'llvm/test/Object/obj2yaml.test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud