Fix Ar crashing on odd-sized object files (Trac #15396)
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Fri, 27 Jul 2018 20:10:52 +0000 (22:10 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Fri, 27 Jul 2018 20:10:53 +0000 (22:10 +0200)
commit754c3a55a603b155fa5d9a282de73d41a4694ffc
tree8ea49b72b99795cfc760d96282e0d17cabf18092
parent2cb08d72d938fa6fdf46da032980af8c4973a0be
Fix Ar crashing on odd-sized object files (Trac #15396)

Summary: All the work was done by Moritz Angermann.

Test Plan: validate

Reviewers: angerman, RyanGlScott, bgamari

Reviewed By: angerman

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #15396

Differential Revision: https://phabricator.haskell.org/D5013
compiler/main/Ar.hs
testsuite/tests/driver/T15396.hs [new file with mode: 0644]
testsuite/tests/driver/T15396.stdout [new file with mode: 0644]
testsuite/tests/driver/all.T