projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb5ffe
)
[ThinLTO] Test we handle collisions correctly in presence of --whole-archive.
author
Davide Italiano
<davide@freebsd.org>
Wed, 12 Oct 2016 20:52:52 +0000
(20:52 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Wed, 12 Oct 2016 20:52:52 +0000
(20:52 +0000)
llvm-svn: 284050
lld/test/ELF/lto/thin-archivecollision.ll
patch
|
blob
|
history
diff --git
a/lld/test/ELF/lto/thin-archivecollision.ll
b/lld/test/ELF/lto/thin-archivecollision.ll
index
bd754d8
..
4e07187
100644
(file)
--- a/
lld/test/ELF/lto/thin-archivecollision.ll
+++ b/
lld/test/ELF/lto/thin-archivecollision.ll
@@
-7,6
+7,10
@@
; RUN: ld.lld %t.o %t1.a %t2.a -o %t
; RUN: llvm-nm %t | FileCheck %s
+; Check we handle this case correctly even in presence of --whole-archive.
+; RUN: ld.lld %t.o --whole-archive %t1.a %t2.a -o %t
+; RUN: llvm-nm %t | FileCheck %s
+
; CHECK: T _start
; CHECK: T blah
; CHECK: T foo