[lld] r307041 - Add a test for a recent regression.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 3 09:49:17 PDT 2017
Author: rafael
Date: Mon Jul 3 09:49:17 2017
New Revision: 307041
URL: http://llvm.org/viewvc/llvm-project?rev=307041&view=rev
Log:
Add a test for a recent regression.
Added:
lld/trunk/test/ELF/version-script-undef-version.s
Added: 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=307041&view=auto
==============================================================================
--- lld/trunk/test/ELF/version-script-undef-version.s (added)
+++ lld/trunk/test/ELF/version-script-undef-version.s Mon Jul 3 09:49:17 2017
@@ -0,0 +1,10 @@
+# REQUIRES: x86
+
+# 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
+
+.global _start
+.global bar
+.symver _start, bar@@UNDEFINED
+_start:
More information about the llvm-commits
mailing list