llvm-project/clang/test
Saleem Abdulrasool cd187f033e DebugInfo: hoist definition into global context when needed
When generating debug info for a static inline member which is initialized for
the DLLExport storage class, hoist the definition into a non-composite type
context. Otherwise, we would trigger an assertion when generating the DIE for
the associated global value as the debug context has a type association. This
addresses PR22669.

Thanks to David Blakie for help in coming up with a solution to this!

llvm-svn: 230816
2015-02-28 00:13:13 +00:00
..
ARCMT Allow (Object *)kMyGlobalCFObj casts without bridging 2015-02-25 20:09:06 +00:00
ASTMerge
Analysis [analyzer] RetainCountChecker: don't try to track ivars known to be nil. 2015-02-19 23:57:04 +00:00
CXX Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
CodeCompletion
CodeGen Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
CodeGenCUDA Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
CodeGenCXX DebugInfo: hoist definition into global context when needed 2015-02-28 00:13:13 +00:00
CodeGenObjC Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
CodeGenObjCXX Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
CodeGenOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
Coverage clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. 2014-11-04 13:05:10 +00:00
CoverageMapping InstrProf: Make sure counts in lambdas don't escape to the parent scope 2015-02-24 04:13:56 +00:00
Driver [msan] Change track-origins default mode from 1 to 2. 2015-02-26 15:59:30 +00:00
FixIt Use the real CXXScopeSpec when setting the correction SourceRange. 2015-01-28 00:46:09 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend Add -fuse-line-directive flag to control usage of #line with -E 2015-02-26 00:17:25 +00:00
Headers Restore the libc++ definition of max_align_t on Apple platforms 2015-02-24 01:06:22 +00:00
Index Add -frtti/-fexceptions to some more tests that assume they're on 2015-02-26 18:29:41 +00:00
Integration
Layout PR6037 2015-01-19 01:44:02 +00:00
Lexer Add -fuse-line-directive flag to control usage of #line with -E 2015-02-26 00:17:25 +00:00
Misc Update assumption in template diffing about integer template arguments. 2015-02-26 02:40:48 +00:00
Modules Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
OpenMP Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
PCH Use Itanium triple in test using -Wpadding 2015-02-25 19:04:51 +00:00
Parser Sema: __assume with side effects shouldn't result in invalid AST nodes 2015-02-26 00:57:33 +00:00
Preprocessor Add __ARM_DWARF_EH__ to signify the use of Itanium ABI for unwind instructions. 2015-02-27 16:35:48 +00:00
Profile Add -frtti/-fexceptions to some more tests that assume they're on 2015-02-26 18:29:41 +00:00
Rewriter Update Clang tests to handle explicitly typed gep changes in LLVM. 2015-02-27 19:18:17 +00:00
Sema Win64: Silently ignore __stdcall, __fastcall, and __thiscall 2015-02-26 19:43:46 +00:00
SemaCUDA CUDA: Add option to allow host device functions to call host functions 2015-02-24 21:45:33 +00:00
SemaCXX Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
SemaObjC Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
SemaObjCXX Update error message text. 2015-01-18 19:05:48 +00:00
SemaOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
SemaTemplate Revert "Improve declaration / expression disambiguation around ptr-operators, and use" 2015-02-23 22:36:28 +00:00
TableGen
Tooling Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Unit
VFS Don't try to rebuild modules on umbrella header mismatch 2015-02-20 21:46:39 +00:00
.clang-format
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +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