summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/objdump-shndx.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-objdump] - Add a relocation-xindex-symbol.test test case.George Rimar2019-08-141-8/+0
| | | | | | | | | This rewrites the exitent test case to use YAML instead of the precompiled object and moves it from test/Object to an appropriate llvm-objdump tests folder. Differential revision: https://reviews.llvm.org/D66140 llvm-svn: 368811
* [llvm-objdump] - Print relocation record in a GNU format.George Rimar2019-05-071-1/+1
| | | | | | | | | | | | | | | This fixes the https://bugs.llvm.org/show_bug.cgi?id=41355. Previously with -r we printed relocation section name instead of the target section name. It was like this: "RELOCATION RECORDS FOR [.rel.text]" Now it is: "RELOCATION RECORDS FOR [.text]" Also when relocation target section has more than one relocation section, we did not combine the output. Now we do. Differential revision: https://reviews.llvm.org/D61312 llvm-svn: 360143
* Implemented sane default for llvm-objdump's relocation Value formatDaniel Cederman2018-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | Summary: "Unknown" for platforms that were not manually added into the switch did not make sense at all. Now it prints Target + addend for all elf-machines that were not explicitly mentioned. Addresses PR21059 and PR25124. Original author: fedor.sergeev Reviewers: jyknight, espindola, fedor.sergeev Reviewed By: jyknight Subscribers: eraman, dcederman, jfb, dschuff, aheejin, llvm-commits Differential Revision: https://reviews.llvm.org/D36464 llvm-svn: 333726
* Add a test showing that objdump (and so ObjectFIle) can handle shndx.Rafael Espindola2015-08-101-0/+8
It was already passing, we were just not testing the code. llvm-svn: 244504
OpenPOWER on IntegriCloud