llvm-project/clang/tools
Yaxun (Sam) Liu b9fb063e63 [clang-offload-bundler] Add option -allow-missing-bundles
There are out-of-tree tools using clang-offload-bundler to extract
bundles from bundled files. When a bundle is not in the bundled
file, clang-offload-bundler is expected to emit an error message
and return non-zero value. However currently clang-offload-bundler
silently generates empty file for the missing bundles.

Since OpenMP/HIP toolchains expect the current behavior, an option
-allow-missing-bundles is added to let clang-offload-bundler
create empty file when a bundle is missing when unbundling.
The unbundling job action is updated to use this option by
default.

clang-offload-bundler itself will emit error when a bundle
is missing when unbundling by default.

Changes are also made to check duplicate targets in -targets
option and emit error.

Differential Revision: https://reviews.llvm.org/D93068
2020-12-16 14:52:39 -05:00
..
apinotes-test [gn build] (manually) port 82f86ae01 2020-11-05 14:11:26 -05:00
arcmt-test ARCMigrate: Stop abusing PreprocessorOptions for passing back file remappings, NFC 2020-12-02 16:28:33 -08:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test Remove RemappedFiles param from ASTUnit::LoadFromASTFile, NFC 2020-12-09 14:44:31 -08:00
clang-check Add -ast-dump-decl-types flag to include types of value and type 2020-06-22 16:47:51 -07:00
clang-diff clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
clang-extdef-mapping [NFC] Add missing 'override's 2020-07-20 19:52:49 -07:00
clang-format clang-format: Migrate createInMemoryFile to FileEntryRef, NFC 2020-12-09 15:00:53 -08:00
clang-format-vs clang-format-vs : Fix Unicode formatting 2019-11-27 09:58:59 +01:00
clang-fuzzer [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref 2020-11-21 21:04:12 -08:00
clang-import-test Fixup for 8c86197de3 to avoid making it platform-dependent 2020-12-11 17:34:00 -08:00
clang-offload-bundler [clang-offload-bundler] Add option -allow-missing-bundles 2020-12-16 14:52:39 -05:00
clang-offload-wrapper [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
clang-refactor Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
clang-rename Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
clang-scan-deps Revert "[clang-scan-deps] Support clang-cl" 2020-12-14 13:32:38 -05:00
clang-shlib [clang-shlib] Don't link with static clang libraries 2020-07-10 14:28:05 -07:00
diag-build
diagtool Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
driver [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref 2020-11-21 21:04:12 -08:00
libclang [PowerPC] Enable paired vector type and intrinsics when MMA is disabled 2020-12-15 15:14:11 -06:00
scan-build [scan-build] Fix clang++ pathname again 2020-11-03 08:17:17 +01:00
scan-build-py [scan-build] Supprot relative 'file' in cdb. 2020-11-09 20:06:20 -08:00
scan-view [scan-view] Explicitly use utf-8 in send_string 2020-09-07 09:26:38 +02:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00