[PATCH] D136888: Move getenv for AS_SECURE_LOG_FILE to clang
Ben Langmuir via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 27 18:16:22 PDT 2022
benlangmuir updated this revision to Diff 471351.
benlangmuir added a comment.
Herald added a subscriber: ormris.
- Updated to use cc1 option in clang
- Moved the llvm-mc option to a central location so it can be used when initialized MCTargetOptions
- Added tests to cover cc1 and cc1as since each one passes in the string to MC in a slightly different way (CodeGenOpts vs. AssemblerInvocation)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136888/new/
https://reviews.llvm.org/D136888
Files:
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CodeGen/as-secure-log-file.c
clang/test/Driver/AS_SECURE_LOG_FILE.s
clang/test/Misc/cc1as-as-secure-log-file.s
clang/tools/driver/cc1as_main.cpp
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCTargetOptions.h
llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCParser/DarwinAsmParser.cpp
llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
llvm/test/MC/AsmParser/secure_log_unique.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136888.471351.patch
Type: text/x-patch
Size: 10269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221028/2f4f67e1/attachment.bin>
More information about the cfe-commits
mailing list