Changeset View
Changeset View
Standalone View
Standalone View
test/ExecutionEngine/RuntimeDyld/X86/ELF-relaxed.s
# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/file.o %p/Inputs/ELF_STT_FILE_GLOBAL.s | # RUN: rm -rf %t && mkdir -p %t | ||||
# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/relaxed.o %s | # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/file.o %p/Inputs/ELF_STT_FILE_GLOBAL.s | ||||
# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %T/file.o %T/relaxed.o | # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/relaxed.o %s | ||||
# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %t/file.o %t/relaxed.o | |||||
# Test that RTDyldELF does not crash with 'unimplemented relocation' | # Test that RTDyldELF does not crash with 'unimplemented relocation' | ||||
_main: | _main: | ||||
movq foo.c@GOTPCREL(%rip), %rax | movq foo.c@GOTPCREL(%rip), %rax |