Remove check for Android in Mips.cpp (#123793)
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / COFF_comdat_weak.s
blob8fa8ba0d8c950573cec12c4e5cfad80f42687293
1 # REQUIRES: asserts
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t
3 # RUN: llvm-jitlink -num-threads=0 -debug-only=jitlink -noexec %t 2>&1 \
4 # RUN: | FileCheck %s
6 # Check a COMDAT any symbol is exported as a weak symbol.
8 # CHECK: Creating graph symbols...
9 # CHECK: 8: Exporting COMDAT graph symbol for COFF symbol "func" in section 4
10 # CHECK-NEXT: 0x0 (block + 0x00000000): size: 0x00000000, linkage: weak, scope: default, dead - func
12 .text
14 .def func;
15 .scl 2;
16 .type 32;
17 .endef
18 .section .text,"xr",discard,func
19 .globl func
20 .p2align 4, 0x90
21 func:
22 retq
24 .def main;
25 .scl 2;
26 .type 32;
27 .endef
28 .text
29 .globl main
30 .p2align 4, 0x90
31 main:
32 retq