llvm-project/clang/lib
Yaxun Liu ab851939fc [HIP] Do not unbundle object files for -fno-gpu-rdc
When -fno-gpu-rdc is set, device code is compiled, linked, and assembled into fat binary
and embedded as string in object files. The object files are normal object files which
can be linked by host linker. In the linking stage, the object files should not be unbundled
when -fno-gpu-rdc is set since they are normal object files, not bundles. The object files
only need to be unbundled when -fgpu-rdc is set.

Currently clang always unbundles object files, disregarding -fgpu-rdc option.

This patch fixes that.

Differential Revision: https://reviews.llvm.org/D58917

llvm-svn: 355410
2019-03-05 16:07:56 +00:00
..
ARCMigrate Fix file headers. NFC 2019-03-01 06:49:51 +00:00
AST [ASTImporter] Fix redecl failures of Class and ClassTemplate 2019-03-05 11:23:24 +00:00
ASTMatchers [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
Analysis Fix file headers. NFC 2019-03-01 06:49:51 +00:00
Basic Replace clang::FileData with llvm::vfs::Status 2019-03-05 02:27:12 +00:00
CodeGen [PGO] Clang part of change for context-sensitive PGO (part1) 2019-03-04 20:21:31 +00:00
CrossTU [CTU] Do not allow different CPP dialects in CTU 2019-02-28 15:24:59 +00:00
Driver [HIP] Do not unbundle object files for -fno-gpu-rdc 2019-03-05 16:07:56 +00:00
Edit Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format [clang-format] clang-format off/on not respected when using C Style comments 2019-03-02 09:08:51 +00:00
Frontend Replace clang::FileData with llvm::vfs::Status 2019-03-05 02:27:12 +00:00
FrontendTool [analyzer][NFC] Supply CheckerRegistry with AnalyzerOptions 2019-01-26 15:59:21 +00:00
Headers [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
Index [clang][index-while-building][NFC] Comment about implementation detail in FileIndexRecord 2019-02-28 01:12:27 +00:00
Lex Fix file headers. NFC 2019-03-01 06:49:51 +00:00
Parse [CodeComplete] Propagate preferred type for function arguments in more cases 2019-02-26 11:01:50 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema Give builtins and alloc/dealloc operators the default calling convention. 2019-03-04 14:54:52 +00:00
Serialization Modules: Document that ReadASTCore exits its final loop via `return`, NFC 2019-03-03 20:17:53 +00:00
StaticAnalyzer [analyzer] Fix taint propagation in GenericTaintChecker 2019-03-05 12:42:59 +00:00
Tooling Switch to cantFail(), since it does the same assertion. 2019-02-06 17:59:39 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00