| commit | 0b1413a88151ce2d95ec8dd44b7d66bd4d59926d | [log] [tgz] |
|---|---|---|
| author | Rafael Espindola <rafael.espindola@gmail.com> | Fri May 05 15:08:06 2017 +0000 |
| committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri May 05 15:08:06 2017 +0000 |
| tree | f58ffff5d13bb375c5122026ef96f6cd5b84bb87 | |
| parent | 921ab758548f2b9b611a4769c1d34ab46650ac5d [diff] |
Use the archive offset with --whole-archive. The test ELF/lto/thin-archivecollision.ll was not testing what it wanted to test. It needs two archive members with the same name, but different offsets. Without this we could remove all references of OffsetInArchive and all tests would still pass. Fixing the test showed that the --whole-archive case was broken, which this patch fixes. llvm-svn: 302241