summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/obj2yaml/Inputs
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/tools/obj2yaml/Inputs
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/tools/obj2yaml/Inputs')
-rw-r--r--llvm/test/tools/obj2yaml/Inputs/shn_xindex.obin0 -> 403 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/tools/obj2yaml/Inputs/shn_xindex.o b/llvm/test/tools/obj2yaml/Inputs/shn_xindex.o
new file mode 100644
index 00000000000..73e2b60ba1e
--- /dev/null
+++ b/llvm/test/tools/obj2yaml/Inputs/shn_xindex.o
Binary files differ
OpenPOWER on IntegriCloud