
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.
10 lines
300 B
NASM
10 lines
300 B
NASM
; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s
|
|
; RUN: not llvm-ml -m32 -filetype=s %s /Fo - 2>&1 | FileCheck %s
|
|
; RUN: not llvm-ml64 -m32 -filetype=s %s /Fo - 2>&1 | FileCheck %s
|
|
|
|
.code
|
|
|
|
; CHECK: :[[# @LINE + 1]]:5: error: register %rax is only available in 64-bit mode
|
|
xor rax, rax
|
|
|
|
end |