Files
clang-p2996/llvm/test/tools/llvm-ml/include_by_env_var.asm
Eric Astor 4b5317e937 [ms] [llvm-ml] Add support for INCLUDE environment variable
Also adds support for the ML.exe command-line flag /X, which ignores the INCLUDE environment variable.

This relands commit c43f413b01 using lit's cross-platform `env` support.

Differential Revision: https://reviews.llvm.org/D103989
2021-06-09 17:54:40 -04:00

21 lines
248 B
NASM

; RUN: env INCLUDE=%S llvm-ml -filetype=s %s /Fo - | FileCheck %s
include included.inc
.code
t1:
mov eax, Const
; CHECK-LABEL: t1:
; CHECK-NEXT: mov eax, 8
t2:
push_pop ebx
; CHECK-LABEL: t2:
; CHECK-NEXT: push ebx
; CHECK-NEXT: pop ebx
end