diff options
Diffstat (limited to 'test/elf/archive-elf-forceload.test')
-rw-r--r-- | test/elf/archive-elf-forceload.test | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/test/elf/archive-elf-forceload.test b/test/elf/archive-elf-forceload.test deleted file mode 100644 index a0d115094815..000000000000 --- a/test/elf/archive-elf-forceload.test +++ /dev/null @@ -1,43 +0,0 @@ -# Tests the functionality of archive libraries reading -# and resolution -# Note: The binary files would not be required once we have support to generate -# binary archives from textual(yaml) input -# -# Tests generated using the source files below -# main file -# int main() -# { -# fn(); -# return 0; -# } -# -# archive file -# int fn() -# { -# return 0; -# } -# -# int fn1() -# { -# return 0; -# } -# gcc -c main.c fn.c fn1.c - -RUN: lld -flavor gnu -target x86_64-linux -e main %p/Inputs/mainobj.x86_64 \ -RUN: --whole-archive %p/Inputs/libfnarchive.a --no-whole-archive --output-filetype=yaml \ -RUN: | FileCheck -check-prefix FORCELOAD %s - -FORCELOAD: defined-atoms: -FORCELOAD: - name: fn1 -FORCELOAD: scope: global -FORCELOAD: content: [ 55, 48, 89, E5, B8, 00, 00, 00, 00, 5D, C3 ] -FORCELOAD: - name: fn -FORCELOAD: scope: global -FORCELOAD: content: [ 55, 48, 89, E5, B8, 00, 00, 00, 00, 5D, C3 ] -FORCELOAD: absolute-atoms: -FORCELOAD: - name: main.c -FORCELOAD: value: 0x0 -FORCELOAD: - name: fn1.c -FORCELOAD: value: 0x0 -FORCELOAD: - name: fn.c -FORCELOAD: value: 0x0 |