hanchenye-llvm-project/clang/test
Chandler Carruth 9ade6a9a74 Fix a tiny bug in -no-canonical-prefixes that somehow we have never
noticed until now.

The code for setting up the driver's InstalledDir didn't respect
-no-canonical-prefixes. Because of this, there are a few places in the
driver where we would unexpectedly form absolute paths, notably when
searching for and finding GCC installations to use, etc. The fix is
straightforward, and I've added this path to '-v' both so we can test it
sanely and so that it will be substantially more obvious the next time
someone has to debug something here.

Note that there is another bug that we don't actually *canonicalize* the
installed directory! I don't really want to fix that because I don't
have a realistic way to test the usage of this mode. I suspect that
folks using the shared module cache would care about getting this right
though, and so they might want to address it. I've left the appropriate
FIXMEs so that it is clear what to change, and I've updated the test
code to make it clear what is happening here.

llvm-svn: 244065
2015-08-05 17:07:33 +00:00
..
ARCMT Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
ASTMerge PR10405 - Desugar FunctionType and TemplateSpecializationType if any type that appears inside needs to be desugared. 2015-07-16 01:06:17 +00:00
Analysis Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
CXX [modules] In C++, stop serializing and deserializing a list of declarations in 2015-07-21 23:54:07 +00:00
CodeCompletion Fix code completion tests to use an explicit modules cache path 2015-07-20 21:22:46 +00:00
CodeGen Add missing atomic libcall support. 2015-08-05 16:57:36 +00:00
CodeGenCUDA [cuda] Fixed test case failure on s390x 2015-05-11 18:35:58 +00:00
CodeGenCXX [AST] Really allocate a SmallVector to the right size. 2015-08-04 13:34:50 +00:00
CodeGenObjC DI: Update testcases for LLVM assembly change 2015-07-31 18:59:37 +00:00
CodeGenObjCXX [test] Follow-up for r243343, also add a test case using an enum for designated enum. 2015-07-28 00:01:13 +00:00
CodeGenOpenCL Fix invalid shufflevector operands 2015-08-02 15:28:10 +00:00
Coverage
CoverageMapping InstrProf: Fix a misuse of the FunctionDecl API when generating coverage 2015-07-28 00:41:51 +00:00
Driver Fix a tiny bug in -no-canonical-prefixes that somehow we have never 2015-08-05 17:07:33 +00:00
FixIt Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
Format Disable style-on-command-line test on Windows 2015-06-09 17:47:59 +00:00
Frontend Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
Headers Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
Index [test] Follow-up for r243119, also add a test case using property methods. 2015-07-28 17:38:51 +00:00
Integration
Layout __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Lexer [Tests] Add explicit -std=lang option to a number of tests. 2015-08-01 02:55:59 +00:00
Misc [modules] Add an assert for redeclarations that we never added to their redecl 2015-07-27 05:40:23 +00:00
Modules [modules] Make IndirectFieldDecl mergeable to avoid lookup ambiguity when the same anonymous union is defined across multiple modules. 2015-08-04 02:05:09 +00:00
OpenMP [OPENMP 4.1] Support for 'linear' clause in loop directives. 2015-08-04 11:18:19 +00:00
PCH Remove bad test. 2015-07-30 01:21:56 +00:00
Parser [Concepts] Add diagnostic: non template declaration 2015-07-30 21:20:55 +00:00
Preprocessor [Tests] Add explicit -std=lang option to a number of tests. 2015-08-01 02:55:59 +00:00
Profile Tweak a couple of -fprofile tests in clang/test to accept backslash in path. 2015-07-10 13:11:08 +00:00
Rewriter __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Sema Additional fix for PR14269: Crash on vector elements / global register vars in inline assembler. 2015-08-03 10:38:10 +00:00
SemaCUDA [cuda] Preserve TLS storage class of host variable even if it's a 2015-04-28 20:31:49 +00:00
SemaCXX [Sema] Add a crazy test case for r243987 2015-08-04 15:18:16 +00:00
SemaObjC Update mailing list references to lists.llvm.org 2015-08-05 03:55:23 +00:00
SemaObjCXX Cleanup ObjCInterfaceDecl lookup for ObjC literals 2015-07-24 05:09:40 +00:00
SemaOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
SemaTemplate [SemaTemplate] Detect instantiation of unparsed exceptions. 2015-07-25 01:19:32 +00:00
TableGen
Tooling Change the expectation for test/Tooling/ms-asm-no-target.cpp since 2015-07-08 01:39:38 +00:00
Unit
VFS Commit some test changes somehow missed in r239789. 2015-06-16 00:19:29 +00:00
.clang-format
CMakeLists.txt Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Enable clang tests requiring "clang-driver" on mingw. 2015-07-25 20:05:21 +00:00
lit.site.cfg.in Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
make_test_dirs.pl