31 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t2# RUN: llvm-jitlink -noexec %t3#4# Check object with alternatename directive does not fail, because5# foo external symbol was resolved to foo_def.6#7 8 .text9 10 .def foo_def;11 .scl 2;12 .type 32;13 .endef14 .globl foo_def15 .p2align 4, 0x9016foo_def:17 retq18 19 .def main;20 .scl 2;21 .type 32;22 .endef23 .globl main24 .p2align 4, 0x9025main:26 callq foo27 retq28 29.section .drectve,"yn"30.ascii "/alternatename:foo=foo_def"31