llvm-project/clang/lib
Yaxun (Sam) Liu 85c2bd2a0e Prevent adding module flag amdgpu_hostcall multiple times
HIP program with printf call fails to compile with -fsanitize=address
option, because of appending module flag - amdgpu_hostcall twice, one
for printf and one for sanitize option. This patch fixes that issue.

Patch by: Praveen Velliengiri

Reviewed by: Yaxun Liu, Roman Lebedev

Differential Revision: https://reviews.llvm.org/D116216
2022-01-19 12:52:33 -05:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
AST [OpenMP] Remove hidden visibility for declare target variables 2022-01-18 18:19:57 -05:00
ASTMatchers ASTMatchers: Avoid using SmallVector::set_size() 2022-01-11 17:01:46 -08:00
Analysis [clang][dataflow] Add a transfer function for conditional operator 2022-01-19 16:25:05 +00:00
Basic [clang][AVR] Implement '__flashN' for variables on different flash banks 2022-01-19 11:24:01 +00:00
CodeGen Prevent adding module flag amdgpu_hostcall multiple times 2022-01-19 12:52:33 -05:00
CrossTU Revert "[analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file" 2021-12-16 20:46:51 -05:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver Fix the use of -fno-approx-func along with -Ofast or -ffast-math 2022-01-19 08:05:08 -08:00
Edit [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Format [clang-format] Fix incorrect alignment of operator= overloads. 2022-01-19 10:18:47 +01:00
Frontend [clang][lex] NFC: Simplify calls to `LookupFile` 2022-01-18 16:02:18 +01:00
FrontendTool [clang] Add plugin ActionType to run command line plugin before main action 2021-10-20 08:58:20 -07:00
Headers Mark ATOMIC_VAR_INIT and ATOMIC_FLAG_INIT as deprecated 2022-01-18 13:41:56 -05:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
IndexSerialization
Interpreter [clang] Remove unused forward declarations (NFC) 2022-01-08 11:56:40 -08:00
Lex [clang][lex] NFC: Simplify calls to `LookupFile` 2022-01-18 16:02:18 +01:00
Parse [AST] Fix the incorrect auto-keyword loc for constrained auto type loc. 2022-01-19 14:18:38 +01:00
Rewrite [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Sema [AIX][ZOS] Handle unsupported builtin function CFStringMakeConstantString 2022-01-17 11:24:16 -05:00
Serialization Reland (2) "[AST] Add RParen loc for decltype AutoTypeloc."" 2022-01-17 11:33:11 +01:00
StaticAnalyzer Fix pair construction with an implicit constructor inside. 2022-01-18 18:01:52 +01:00
Testing
Tooling [Tooling] When transferring compile commands between files, always use '--' 2022-01-11 01:41:42 +01:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00