diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-08 18:10:53 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-10-08 18:10:53 +0000 |
| commit | 79e445253588b43f3a4bb2607901a42d2b91adcd (patch) | |
| tree | d5090f554f4601cad3521b0b59535e0142328ff1 | |
| parent | 483ad20009f058d5c57641899e4fc850635973b7 (diff) | |
| download | bcm5719-llvm-79e445253588b43f3a4bb2607901a42d2b91adcd.tar.gz bcm5719-llvm-79e445253588b43f3a4bb2607901a42d2b91adcd.zip | |
Test that we handle empty archives.
This was failing before 249709.
llvm-svn: 249710
| -rw-r--r-- | lld/test/elf2/empty-archive.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/elf2/empty-archive.s b/lld/test/elf2/empty-archive.s new file mode 100644 index 00000000000..e895a95d06f --- /dev/null +++ b/lld/test/elf2/empty-archive.s @@ -0,0 +1,3 @@ +// RUN: llvm-ar rc %t.a +// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o +// RUN: ld.lld2 -shared %t.o %t.a -o t |

