forked from OSchip/llvm-project
Don't depend on a llvm-ar specific behavior.
GNU ar when not given the a or b modifiers replaces archive members in the same location of the old ones. I am about to implement that in llvm-ar. For now, just don't depend on the current llvm-ar behavior on this test. llvm-svn: 186823
This commit is contained in:
parent
76ad5d7589
commit
9cea44a5f2
|
@ -12,7 +12,8 @@ CHECK: .foo
|
||||||
CHECK-NEXT: .zed
|
CHECK-NEXT: .zed
|
||||||
CHECK-NEXT: .bar
|
CHECK-NEXT: .bar
|
||||||
|
|
||||||
RUN: llvm-ar rc %t.a %t.foo %t.bar
|
RUN: rm -f %t.a
|
||||||
|
RUN: llvm-ar rc %t.a %t.zed %t.foo %t.bar
|
||||||
RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK2 %s
|
RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK2 %s
|
||||||
|
|
||||||
CHECK2: .zed
|
CHECK2: .zed
|
||||||
|
|
Loading…
Reference in New Issue