llvm-project/clang/lib/Basic
Kevin Athey e0b469ffa1 [clang-cl][sanitizer] Add -fsanitize-address-use-after-return to clang.
Also:
  - add driver test (fsanitize-use-after-return.c)
  - add basic IR test (asan-use-after-return.cpp)
  - (NFC) cleaned up logic for generating table of __asan_stack_malloc
    depending on flag.

for issue: https://github.com/google/sanitizers/issues/1394

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D104076
2021-06-11 12:07:35 -07:00
..
Targets Revert "Implementation of global.get/set for reftypes in LLVM IR" 2021-06-10 10:11:17 +00:00
Attributes.cpp Build fix: AttributeCommonInfo::AS_C2x 2020-03-25 15:42:21 +01:00
Builtins.cpp The compiler is crashing when compiling a coroutine intrinsic without 2021-05-26 18:07:31 -07:00
CMakeLists.txt [clang] Make libBasic not depend on MC 2021-04-28 12:16:22 -04:00
CharInfo.cpp
CodeGenOptions.cpp [NFC] Remove duplicate isNoBuiltinFunc method 2021-03-10 09:18:55 +01:00
Cuda.cpp Reland "[AMDGPU] Add gfx1013 target" 2021-06-08 21:15:35 -04:00
Diagnostic.cpp [clang] Add a new nullability annotation for swift async: _Nullable_result 2020-12-07 17:19:20 -05:00
DiagnosticIDs.cpp [clang][NFC] pack StaticDiagInfoRec 2021-03-03 02:53:10 +00:00
DiagnosticOptions.cpp
ExpressionTraits.cpp [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
FileEntry.cpp Basic: Add native support for stdin to SourceManager and FileManager 2020-12-23 15:18:50 -08:00
FileManager.cpp [clang][FileManager] Support empty file name in getVirtualFileRef for serialized diagnostics 2021-04-14 11:29:25 -07:00
FileSystemStatCache.cpp
IdentifierTable.cpp Correct the 'KEYALL' mask. 2021-05-27 07:20:32 -07:00
LangOptions.cpp [clang][patch] Inclusive language, modify filename SanitizerBlacklist.h to NoSanitizeList.h 2021-02-22 15:11:37 -05:00
LangStandards.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
Module.cpp [clang][modules] Build inferred modules 2021-05-17 10:40:51 +02:00
NoSanitizeList.cpp [clang][patch] Inclusive language, modify filename SanitizerBlacklist.h to NoSanitizeList.h 2021-02-22 15:11:37 -05:00
ObjCRuntime.cpp
OpenCLOptions.cpp [OpenCL] Introduce new method for validating OpenCL target 2021-04-28 16:00:02 +03:00
OpenMPKinds.cpp [OpenMP] Implement '#pragma omp unroll'. 2021-06-10 14:30:17 -05:00
OperatorPrecedence.cpp
ProfileList.cpp Fix "not all control paths return a value" warning. NFCI. 2021-01-27 10:15:21 +00:00
SanitizerSpecialCaseList.cpp Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
Sanitizers.cpp [clang-cl][sanitizer] Add -fsanitize-address-use-after-return to clang. 2021-06-11 12:07:35 -07:00
SourceLocation.cpp [clang][Tooling] Get rid of a hack in SymbolOccurrences, NFCI 2021-01-22 13:01:41 +00:00
SourceManager.cpp [clang][SourceManager] Fix -Wparentheses warning (NFC) 2021-04-09 10:22:56 +08:00
Stack.cpp [msvc] Add necessary #include to make compiler intrinsics available. 2019-08-26 18:33:15 +00:00
TargetID.cpp [clang][AMDGPU] rename sram-ecc as sramecc 2020-12-07 18:05:47 -05:00
TargetInfo.cpp [clang][AVR] Redefine [u]int16_t to be compatible with avr-gcc 2021-05-18 07:06:12 +08:00
Targets.cpp [OpenCL] Add support of OpenCL C 3.0 __opencl_c_fp64 2021-05-21 15:01:19 +03:00
Targets.h De-templatize non-dependent VS macro logic, NFC 2019-07-09 20:57:28 +00:00
TokenKinds.cpp Use switch instead of series of comparisons 2019-08-03 16:32:49 +00:00
TypeTraits.cpp [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
Version.cpp Remove HAVE_VCS_VERSION_INC, not needed 2020-10-29 13:09:05 -07:00
Warnings.cpp [Sema] Special case -Werror-implicit-function-declaration and reject other -Werror- 2020-11-05 10:25:30 -08:00
XRayInstr.cpp [clang][cli] Generate and round-trip CodeGen options 2021-02-09 11:43:38 +01:00
XRayLists.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00