Home | History | Annotate | Download | only in llvm-ar
      1 RUN: yaml2obj %S/Inputs/macho.yaml -o %t-macho.o
      2 RUN: yaml2obj %S/Inputs/coff.yaml -o %t-coff.o
      3 
      4 RUN: rm -f %t.ar
      5 RUN: llvm-ar crs %t.ar %t-macho.o
      6 RUN: grep -q __.SYMDEF %t.ar
      7 RUN: llvm-ar crs %t.ar %t-coff.o
      8 RUN: grep -q __.SYMDEF %t.ar
      9 
     10 RUN: rm -f %t.ar
     11 RUN: llvm-ar crs %t.ar %t-coff.o
     12 RUN: not grep -q __.SYMDEF %t.ar
     13 RUN: llvm-ar crs %t.ar %t-macho.o
     14 RUN: not grep -q __.SYMDEF %t.ar
     15 
     16 Ensure that we select the existing format when updating.
     17 
     18