Files
clang-p2996/clang/test/Driver/AS_SECURE_LOG_FILE.s
Ben Langmuir e1f9983022 Move getenv for AS_SECURE_LOG_FILE to clang
Avoid calling getenv in the MC layer and let the clang driver do it so
that it is reflected in the command-line as an -mllvm option.

rdar://101558354

Differential Revision: https://reviews.llvm.org/D136888
2022-10-28 16:08:04 -07:00

4 lines
174 B
ArmAsm

// RUN: env AS_SECURE_LOG_FILE=log_file %clang --target=x86_64-apple-darwin -c %s -### 2>&1 | FileCheck %s
// CHECK: "-cc1as"
// CHECK-SAME: "-as-secure-log-file" "log_file"