mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 20:16:06 +00:00

Rather than requiring users to pass `-m64` to the `llvm-ml` driver to get 64-bit behavior, we add the `llvm-ml64` alias, matching the behavior of `ML.EXE` and `ML64.EXE`. The original flavor/bitness flags still work, but the alias should make some workflows easier. NOTE: The logic for this already existed in the code; we're just finally adding the build/install instructions to match.
31 lines
402 B
NASM
31 lines
402 B
NASM
; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
|
|
; RUN: llvm-ml64 -filetype=s %s /Fo - | FileCheck %s
|
|
|
|
.code
|
|
|
|
t1 PROC
|
|
xor eax, eax
|
|
t1_nested PROC
|
|
ret
|
|
t1_nested ENDP
|
|
t1 ENDP
|
|
|
|
; CHECK-LABEL: t1:
|
|
; CHECK: xor eax, eax
|
|
; CHECK: t1_nested:
|
|
; CHECK: ret
|
|
|
|
t2 PROC
|
|
xor eax, eax
|
|
t2_nested PROC
|
|
ret
|
|
T2_nEsTeD ENDP
|
|
t2 ENDP
|
|
|
|
; CHECK-LABEL: t2:
|
|
; CHECK: xor eax, eax
|
|
; CHECK: t2_nested:
|
|
; CHECK: ret
|
|
|
|
END
|