
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.
30 lines
429 B
NASM
30 lines
429 B
NASM
; RUN: llvm-ml64 -filetype=s %s /Fo - | FileCheck %s
|
|
|
|
.code
|
|
|
|
t1 PROC FRAME
|
|
push rbp
|
|
.pushreg rbp
|
|
mov rbp, rsp
|
|
.setframe rbp, 0
|
|
pushfq
|
|
.allocstack 8
|
|
.endprolog
|
|
ret
|
|
t1 ENDP
|
|
|
|
; CHECK: .seh_proc t1
|
|
|
|
; CHECK: t1:
|
|
; CHECK: push rbp
|
|
; CHECK: .seh_pushreg rbp
|
|
; CHECK: mov rbp, rsp
|
|
; CHECK: .seh_setframe rbp, 0
|
|
; CHECK: pushfq
|
|
; CHECK: .seh_stackalloc 8
|
|
; CHECK: .seh_endprologue
|
|
; CHECK: ret
|
|
; CHECK: .seh_endproc
|
|
|
|
END
|