[lld] r307082 - Make the test more strict.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 4 07:59:28 PDT 2017
Author: rafael
Date: Tue Jul 4 07:59:28 2017
New Revision: 307082
URL: http://llvm.org/viewvc/llvm-project?rev=307082&view=rev
Log:
Make the test more strict.
We now don't produce "has undefined version" errors when producing
binaries even when there is a linker script.
Modified:
lld/trunk/test/ELF/version-script-undef-version.s
Modified: lld/trunk/test/ELF/version-script-undef-version.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-script-undef-version.s?rev=307082&r1=307081&r2=307082&view=diff
==============================================================================
--- lld/trunk/test/ELF/version-script-undef-version.s (original)
+++ lld/trunk/test/ELF/version-script-undef-version.s Tue Jul 4 07:59:28 2017
@@ -3,6 +3,8 @@
# Test that we don't error on undefined versions when static linking.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
+# RUN: echo "DEFINED { global: *; };" > %t.map
+# RUN: ld.lld %t.o --version-script %t.map -o %t
.global _start
.global bar
More information about the llvm-commits
mailing list