blob: 525db85d3a58726048c25b065525d906d831226b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
RUN: yaml2obj -format macho %S/Inputs/macho.yaml -o %t-macho.o
RUN: yaml2obj -format coff %S/Inputs/coff.yaml -o %t-coff.o
RUN: rm -f %t.ar
RUN: llvm-ar crs %t.ar %t-macho.o
RUN: grep -q __.SYMDEF %t.ar
RUN: llvm-ar crs %t.ar %t-coff.o
RUN: grep -q __.SYMDEF %t.ar
RUN: rm -f %t.ar
RUN: llvm-ar crs %t.ar %t-coff.o
RUN: not grep -q __.SYMDEF %t.ar
RUN: llvm-ar crs %t.ar %t-macho.o
RUN: not grep -q __.SYMDEF %t.ar
Ensure that we select the existing format when updating.
|