llvm-project/clang/test
Nico Weber 37b7533682 Promote -fdebug-compilation-dir from a cc1 flag to clang and clang-cl driver flags
The flag is useful when wanting to create .o files that are independent
from the absolute path to the build directory. -fdebug-prefix-map= can
be used to the same effect, but it requires putting the absolute path
to the build directory on the build command line, so it still requires
the build command line to be dependent on the absolute path of the build
directory. With this flag, "-fdebug-compilation-dir ." makes it so that
both debug info and the compile command itself are independent of the
absolute path of the build directory, which is good for build
determinism (in the sense that the build is independent of which
directory it happens in) and for caching compile results.
(The tradeoff is that the debugger needs explicit configuration to know
the build directory. See also http://dwarfstd.org/ShowIssue.php?issue=171130.2)

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

llvm-svn: 363548
2019-06-17 12:10:40 +00:00
..
ARCMT
AST [clang] Add storage for APValue in ConstantExpr 2019-06-15 10:24:47 +00:00
ASTMerge Fix ASTMerge/namespace/test.cpp after r360701 2019-05-14 20:01:03 +00:00
Analysis [analyzer] ReturnVisitor: more portable test case 2019-06-16 17:29:37 +00:00
CXX PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type 2019-06-14 17:46:38 +00:00
ClangScanDeps [clang-scan-deps] initial outline of the tool that runs preprocessor to find 2019-06-12 21:32:49 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [Clang] Harmonize Split DWARF options with llc 2019-06-15 15:38:51 +00:00
CodeGenCUDA [AMDGPU] Enable the implicit arguments for HIP (CLANG) 2019-06-14 15:54:47 +00:00
CodeGenCXX Re-commit r357452 (take 3): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)" 2019-06-17 07:47:28 +00:00
CodeGenCoroutines
CodeGenObjC Re-commit r357452 (take 3): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)" 2019-06-17 07:47:28 +00:00
CodeGenObjCXX [Clang] Disable new PM for tests that use optimization level -O1, -O2 and -O3 2019-06-05 03:17:11 +00:00
CodeGenOpenCL [AMDGPU] gfx1011/gfx1012 clang support 2019-06-14 00:33:59 +00:00
CodeGenOpenCLCXX Introduce Value::stripPointerCastsSameRepresentation 2019-06-04 20:21:46 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver Promote -fdebug-compilation-dir from a cc1 flag to clang and clang-cl driver flags 2019-06-17 12:10:40 +00:00
FixIt [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
Format
Frontend Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Headers [PowerPC] [Clang] Port SSE2 intrinsics to PowerPC 2019-06-12 05:25:40 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index [libclang] Allow skipping warnings from all included files 2019-06-11 14:14:24 +00:00
Integration
Layout
Lexer Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Misc [Clang] Rename -split-dwarf-file to -split-dwarf-output 2019-06-15 14:07:43 +00:00
Modules [Clang] Rename -split-dwarf-file to -split-dwarf-output 2019-06-15 14:07:43 +00:00
OpenMP [OpenMP] Add target task alloc function with device ID 2019-06-14 20:19:54 +00:00
PCH For DR712: store on a DeclRefExpr whether it constitutes an odr-use. 2019-06-11 17:50:32 +00:00
Parser PR42071: Reject weird names for non-type template parameters. 2019-06-14 20:01:54 +00:00
Preprocessor [CUDA] Fix grep pattern in cuda-types.cu 2019-06-10 22:28:20 +00:00
Profile [clang][NewPM] Fix broken profile test 2019-06-13 17:25:36 +00:00
Refactor
Rewriter
Sema [RISCV][NFC] Add missing test files for D54091 2019-06-11 12:49:15 +00:00
SemaCUDA Permit redeclarations of a builtin to specify calling convention. 2019-03-21 13:30:56 +00:00
SemaCXX [clang] perform semantic checking in constant context 2019-06-15 08:32:56 +00:00
SemaObjC Add the `objc_class_stub` attribute. 2019-05-30 04:09:01 +00:00
SemaObjCXX If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
SemaOpenCL [OpenCL] Undefine cl_intel_planar_yuv extension 2019-06-03 13:02:43 +00:00
SemaOpenCLCXX [OpenCL][PR42031] Prevent deducing addr space in type alias. 2019-06-05 14:50:01 +00:00
SemaTemplate Mark declarations as referenced by a default argument in a 2019-06-11 23:51:46 +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 Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +00:00
Unit [lit] Set shlibpath_var on AIX 2019-03-29 23:33:04 +00:00
VFS
clang-rename
.clang-format
CMakeLists.txt [clang-scan-deps] initial outline of the tool that runs preprocessor to find 2019-06-12 21:32:49 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +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