llvm-project/clang/test
Nick Desaulniers 17694af980 [Driver] Verify GCCInstallation is valid
Summary:
Values returned by GCCInstallation.getParentLibPath() and
GCCInstallation.getTriple() are not valid unless
GCCInstallation.isValid() returns true. This has previously been
ignored, and the former two values were used without checking whether
GCCInstallation is valid. This led to the bad path "/../bin" being added
to the list of program paths.

author: danielmentz "Daniel Mentz <danielmentz@google.com>"

Reviewers: #clang, tstellar, srhines

Reviewed By: srhines

Subscribers: danielmentz, ormris, nickdesaulniers, srhines, cfe-commits

Tags: #clang

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

llvm-svn: 361314
2019-05-21 21:21:35 +00:00
..
ARCMT
AST Do not use the incorrect attribute spelling list index when translating a no_sanitize_foo attribute into a no_sanitize("foo") attribute. 2019-05-21 17:24:49 +00:00
ASTMerge Fix ASTMerge/namespace/test.cpp after r360701 2019-05-14 20:01:03 +00:00
Analysis [analyzer] PR41753: Include complex integer types in NonLoc::isCompoundType 2019-05-18 12:34:08 +00:00
CXX [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
CodeCompletion [CodeComplete] Complete enumerators when preferred type is an enum 2019-05-16 16:06:57 +00:00
CodeGen [DebugInfo] Don't emit checksums when compiling a preprocessed CPP 2019-05-21 19:40:28 +00:00
CodeGenCUDA [HIP] Fix visibility of `__constant__` variables. 2019-04-26 19:31:48 +00:00
CodeGenCXX Remove unneeded alignment spec from builtin_FUNCTION.cpp test 2019-05-16 23:07:45 +00:00
CodeGenCoroutines
CodeGenObjC [CodeGenObjC] invoke objc_autorelease, objc_retain when necessary 2019-05-15 20:15:01 +00:00
CodeGenObjCXX Specify target triple to fix the tests I committed in r360359 that are 2019-05-09 18:32:16 +00:00
CodeGenOpenCL [NFC] Fix line endings in OpenCL tests 2019-05-17 09:25:38 +00:00
CodeGenOpenCLCXX [OpenCL] Make global ctor init function a kernel 2019-05-09 13:55:44 +00:00
Coverage
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver [Driver] Verify GCCInstallation is valid 2019-05-21 21:21:35 +00:00
FixIt [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
Format
Frontend [clang][Darwin] Refactor header search path logic into the driver 2019-05-21 17:48:04 +00:00
Headers [OpenMP][Bugfix] Move double and float versions of abs under c++ macro 2019-05-15 20:28:23 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index [libclang] visit c++14 lambda capture init expressions 2019-05-21 09:21:35 +00:00
Integration
Layout
Lexer Factor out repeated code parsing and concatenating header-names from 2019-03-19 01:51:19 +00:00
Misc Fix isInSystemMacro in presence of macro and pasted token 2019-05-16 12:40:00 +00:00
Modules [ELF] Implement Dependent Libraries Feature 2019-05-17 03:44:15 +00:00
OpenMP [OpenMP] Add support for registering requires directives with the runtime 2019-05-21 19:42:01 +00:00
PCH [c++20] Add support for explicit(bool), as described in P0892R2. 2019-05-09 03:59:21 +00:00
Parser Rearrange and clean up how we disambiguate lambda-introducers from ObjC 2019-05-20 18:01:54 +00:00
Preprocessor [ARM][CMSE] Add commandline option and feature macro 2019-05-21 14:21:26 +00:00
Profile [PGO] Fix buildbot failure in 359215 2019-04-25 21:16:41 +00:00
Refactor
Rewriter
Sema Implement __builtin_LINE() et. al. to support source location capture. 2019-05-16 21:04:15 +00:00
SemaCUDA Permit redeclarations of a builtin to specify calling convention. 2019-03-21 13:30:56 +00:00
SemaCXX Added a better diagnostic when using the delete operator with lambdas 2019-05-19 15:07:58 +00:00
SemaObjC Remove unicode character from test 2019-05-21 20:12:00 +00:00
SemaObjCXX Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
SemaOpenCL [NFC] Fix line endings in OpenCL tests 2019-05-17 09:25:38 +00:00
SemaOpenCLCXX [OpenCL] Prevent mangling kernel functions. 2019-05-07 14:22:34 +00:00
SemaTemplate [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
TableGen Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Templight
Tooling Remove a bogus sed option in test. 2019-04-08 16:34:38 +00:00
Unit [lit] Set shlibpath_var on AIX 2019-03-29 23:33:04 +00:00
VFS
clang-rename
.clang-format
CMakeLists.txt [Analysis] Only run plugins tests if plugins are actually enabled 2019-05-17 06:07:37 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Analysis] Only run plugins tests if plugins are actually enabled 2019-05-17 06:07:37 +00:00
lit.site.cfg.py.in [Analysis] Only run plugins tests if plugins are actually enabled 2019-05-17 06:07:37 +00:00
make_test_dirs.pl