llvm-project/clang/test
Aaron Puchert e1dc495e63 [Clang] Harmonize Split DWARF options with llc
Summary:
With Split DWARF the resulting object file (then called skeleton CU)
contains the file name of another ("DWO") file with the debug info.
This can be a problem for remote compilation, as it will contain the
name of the file on the compilation server, not on the client.

To use Split DWARF with remote compilation, one needs to either

* make sure only relative paths are used, and mirror the build directory
  structure of the client on the server,
* inject the desired file name on the client directly.

Since llc already supports the latter solution, we're just copying that
over. We allow setting the actual output filename separately from the
value of the DW_AT_[GNU_]dwo_name attribute in the skeleton CU.

Fixes PR40276.

Reviewers: dblaikie, echristo, tejohnson

Reviewed By: dblaikie

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

llvm-svn: 363496
2019-06-15 15:38:51 +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: Bypass everything to see inlined calls 2019-06-15 10:05:49 +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 [CodeGen][ObjC] Annotate retain-agnostic ObjC globals with attribute 2019-06-14 22:06:28 +00:00
CodeGenCoroutines
CodeGenObjC [CodeGen][ObjC] Annotate retain-agnostic ObjC globals with attribute 2019-06-14 22:06: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 [Clang] Harmonize Split DWARF options with llc 2019-06-15 15:38:51 +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 Revert r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-14 12:58:17 +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 [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