mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Make the test more strict.
We now don't produce "has undefined version" errors when producing binaries even when there is a linker script. llvm-svn: 307082
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user