summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/add-gnu-debuglink.test
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-04-30 11:02:09 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-04-30 11:02:09 +0000
commit67f590e2867ace532b2a5d9212c4a43bcd7b9557 (patch)
tree81891dae507a5f201b7016cb7db21443a9018bc7 /llvm/test/tools/llvm-objcopy/ELF/add-gnu-debuglink.test
parent648a8cfe70f9cfd507f8bd566c24919510d17270 (diff)
downloadbcm5719-llvm-67f590e2867ace532b2a5d9212c4a43bcd7b9557.tar.gz
bcm5719-llvm-67f590e2867ace532b2a5d9212c4a43bcd7b9557.zip
[llvm-objcopy] - Check dynamic relocation sections for broken references.
This is a fix for https://bugs.llvm.org/show_bug.cgi?id=41371. Currently, it is possible to break the sh_link field of the dynamic relocation section by removing the section it refers to. The patch fixes an issue and adds 2 test cases. One of them shows that it does not seem possible to break the sh_info field. I added an assert to verify this. Differential revision: https://reviews.llvm.org/D60825 llvm-svn: 359552
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/add-gnu-debuglink.test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud