diff options
Diffstat (limited to 'llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s')
| -rw-r--r-- | llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s b/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s index 9120a632274..82a6fd85499 100644 --- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s +++ b/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s @@ -1,7 +1,8 @@ -# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/test_ELF_STT_FILE_FILE_x86-64.o %p/Inputs/ELF_STT_FILE_FILE.s -# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/test_ELF_STT_FILE_GLOBAL_x86-64.o %p/Inputs/ELF_STT_FILE_GLOBAL.s -# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/test_ELF_STT_FILE_x86-64.o %s -# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %T/test_ELF_STT_FILE_GLOBAL_x86-64.o %T/test_ELF_STT_FILE_FILE_x86-64.o %T/test_ELF_STT_FILE_x86-64.o +# RUN: rm -rf %t && mkdir -p %t +# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/test_ELF_STT_FILE_FILE_x86-64.o %p/Inputs/ELF_STT_FILE_FILE.s +# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/test_ELF_STT_FILE_GLOBAL_x86-64.o %p/Inputs/ELF_STT_FILE_GLOBAL.s +# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/test_ELF_STT_FILE_x86-64.o %s +# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %t/test_ELF_STT_FILE_GLOBAL_x86-64.o %t/test_ELF_STT_FILE_FILE_x86-64.o %t/test_ELF_STT_FILE_x86-64.o # Test that RTDyldELF ignores STT_FILE symbols, and in particular does # crash if we are relocating against a symbol that happens to have the |

