summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/Inputs/corrupt-archive.a
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-16 16:41:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-16 16:41:00 +0000
commit95cf2f25feb6c9354961497e1987afea49a07ed3 (patch)
tree5fe8784a5be2385920172362c127500497efea9a /llvm/test/Object/Inputs/corrupt-archive.a
parent8f2efc3a9119e7ebddcff2594195165e46a0e59f (diff)
downloadbcm5719-llvm-95cf2f25feb6c9354961497e1987afea49a07ed3.tar.gz
bcm5719-llvm-95cf2f25feb6c9354961497e1987afea49a07ed3.zip
Fix pr17056.
This makes llvm-nm ignore members that are not sufficiently aligned for lib/Object to handle. These archives are invalid. GNU AR is able to handle this, but in general just warns about broken archive members. We should probably start warning too, but for now just make sure llvm-nm exits with an 0. llvm-svn: 211036
Diffstat (limited to 'llvm/test/Object/Inputs/corrupt-archive.a')
-rw-r--r--llvm/test/Object/Inputs/corrupt-archive.abin0 -> 2698 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/corrupt-archive.a b/llvm/test/Object/Inputs/corrupt-archive.a
new file mode 100644
index 00000000000..f8940ff6420
--- /dev/null
+++ b/llvm/test/Object/Inputs/corrupt-archive.a
Binary files differ
OpenPOWER on IntegriCloud