llvm-project/clang/tools
Daniel Rodríguez Troitiño d11b9fa3bf [clang][macho] Add support for -darwin-target-variant-sdk-version in cc1as
D121868 provided support for -darwin-target-variant-triple, but the
support for -darwin-target-variant-sdk-version was still missing for
cc1as. These changes build upon the previous and provides such support.

- Extracted the common code to handle -darwin-target-variant-triple and
  -darwin-target-variant-sdk-version in the Darwin toolchain to a method
  that can be used for both the cc1 and the cc1as job construction.
  cc1as does not support some of the parameters that were provided to
  cc1, so the same code cannot be used for both.
- Invoke that new common code when constructing a cc1as invocation.
- Parse the new -darwin-target-variant-sdk-version in the cc1as driver.
  Apply its value to the MCObjectFileInfo to generate the right values
  in the object files.
- Includes two new tests that check that cc1as uses the provided values
  in -darwin-target-variant-sdk and that the Clang driver creates the
  jobs with the correct arguments.

Differential Revision: https://reviews.llvm.org/D135729
2022-10-14 14:33:10 -07:00
..
amdgpu-arch [amdgpu-arch] Guard hsa.h with __has_include 2021-05-10 07:33:30 +00:00
apinotes-test [Support] Don't include VirtualFileSystem.h in CommandLine.h 2021-04-21 10:19:01 -04:00
arcmt-test [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
c-arcmt-test
c-index-test Allow getting template args for ClassTemplateSpecializations 2022-09-23 11:06:14 -04:00
clang-check [syntax] Introduce a TokenManager interface. 2022-07-15 10:30:37 +02:00
clang-diff clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
clang-extdef-mapping [clang-extdef-mapping] Directly process .ast files 2022-07-05 13:45:52 +02:00
clang-format [clang-format] update --files help description 2022-10-11 10:25:04 -07:00
clang-format-vs
clang-fuzzer Reland "[lldb/Fuzzer] Add fuzzer for expression evaluator" 2022-08-04 11:47:06 -04:00
clang-import-test [CGDebugInfo] Access the current working directory from the `VFS` 2022-07-26 13:48:39 -07:00
clang-linker-wrapper [LinkerWrapper] Fix optimized debugging builds for NVPTX LTO 2022-09-27 10:49:17 -05:00
clang-offload-bundler [clang-offload-bundler] extracting compatible bundle entry 2022-10-05 19:44:38 -04:00
clang-offload-packager [OffloadPackager] Add ability to extract images from other file types 2022-09-06 08:55:17 -05:00
clang-refactor CommandLine: add and use cl::SubCommand::get{All,TopLevel} 2022-08-02 23:49:16 +02:00
clang-rename [cmake] do not set execution permission to regular files. 2022-09-07 11:04:12 +08:00
clang-repl [clang-repl] Fix incorrect return code 2022-07-31 19:07:05 +08:00
clang-scan-deps [clang][deps] Abolish FileManager sharing 2022-10-04 12:47:22 -07:00
clang-shlib Fixed a number of typos 2022-08-01 13:13:18 -04:00
diag-build [clang] Use portable "#!/usr/bin/env bash" shebang for tools and utils. 2021-09-23 21:16:43 +05:30
diagtool [clang][tablegen] adds human documentation to `WarningOption` 2022-06-10 17:23:00 +00:00
driver [clang][macho] Add support for -darwin-target-variant-sdk-version in cc1as 2022-10-14 14:33:10 -07:00
include-mapping Fixed a number of typos 2022-08-01 13:13:18 -04:00
libclang [clang] Do not override libclang.so's SOVERSION if CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION 2022-10-12 07:14:28 +02:00
scan-build [analyzer] Drop deprecated flags 2022-08-23 18:39:21 +02:00
scan-build-py [cmake] do not set execution permission to regular files. 2022-09-07 11:04:12 +08:00
scan-view [clang][cmake] Use `GNUInstallDirs` to support custom installation dirs 2022-01-21 23:58:08 +00:00
CMakeLists.txt [OpenMP] Deprecate the old driver for OpenMP offloading 2022-08-26 13:47:09 -05:00