| Chris Bieneman | 8ff0c11 | 2016-06-27 19:53:53 +0000 | [diff] [blame^] | 1 | RUN: yaml2obj %S/Inputs/coff.yaml -o %t.obj |
| Saleem Abdulrasool | 92d33bd | 2016-06-25 03:05:56 +0000 | [diff] [blame] | 2 | |
| 3 | RUN: rm -f %t.ar | ||||
| 4 | RUN: llvm-ar crs %t.ar %t.obj | ||||
| 5 | RUN: not grep -q __.SYMDEF %t.ar | ||||
| 6 | |||||
| 7 | Ensure that we generate a GNU style archive for COFF by default. The GNU linker | ||||
| 8 | expects that it will be in GNU format. The lib format on Windows is compatible | ||||
| 9 | with the GNU format. | ||||
| 10 | |||||