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
4 lines
174 B
ArmAsm
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"
|