Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

10 lines
425 B
ArmAsm

// REQUIRES: arm
// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
// RUN: echo "SECTIONS { \
// RUN: .rel.dyn : { } \
// RUN: .zed : { PROVIDE_HIDDEN (foobar = .); } \
// RUN: }" > %t.script
// This is a test case for PR33029. Making sure that linker can digest
// the above script without dumping core.
// RUN: ld.lld -emit-relocs -T %t.script %t.o -shared -o %t.so