Revert "CodeGen][NewPM] Port MachineScheduler to NPM. (#125703)" (#126268)
[llvm-project.git] / llvm / test / ExecutionEngine / JITLink / x86-64 / COFF_directive_alternatename.s
blob024d066a5cec0f46cbbf8aa6c8c5f2aa3c0fa812
1 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t
2 # RUN: llvm-jitlink -noexec %t
4 # Check object with alternatename directive does not fail, because
5 # foo external symbol was resolved to foo_def.
8 .text
10 .def foo_def;
11 .scl 2;
12 .type 32;
13 .endef
14 .globl foo_def
15 .p2align 4, 0x90
16 foo_def:
17 retq
19 .def main;
20 .scl 2;
21 .type 32;
22 .endef
23 .globl main
24 .p2align 4, 0x90
25 main:
26 callq foo
27 retq
29 .section .drectve,"yn"
30 .ascii "/alternatename:foo=foo_def"