Go to file
David Blaikie f7221adb8e DebugInfo: Lazily attach definition attributes to definitions.
This is a precursor to fixing inlined debug info where the concrete,
out-of-line definition may preceed any inlined usage. To cope with this,
the attributes that may appear on the concrete definition or the
abstract definition are delayed until the end of the module. Then, if an
abstract definition was created, it is referenced (and no other
attributes are added to the out-of-line definition), otherwise the
attributes are added directly to the out-of-line definition.

In a couple of cases this causes not just reordering of attributes, but
reordering of types. When the creation of the attribute is delayed, if
that creation would create a type (such as for a DW_AT_type attribute)
then other top level DIEs may've been constructed during the delay,
causing the referenced type to be created and added after those
intervening DIEs. In the extreme case, in cross-cu-inlining.ll, this
actually causes the DW_TAG_basic_type for "int" to move from one CU to
another.

llvm-svn: 209674
2014-05-27 18:37:43 +00:00
clang Objective-C. Fixes an obscuer crash caused by multiple inclusion of 2014-05-27 18:26:09 +00:00
clang-tools-extra ClangTidyOptionsTest.cpp: Rewrite literals. Raw string literals are unavailable on msc17. 2014-05-24 17:22:01 +00:00
compiler-rt [tsan] Fix tsango build. 2014-05-27 14:18:43 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Fix build broken by LLVM commit r207593 2014-04-30 18:35:20 +00:00
libcxx Fix bug 19840, where some tests were not testing what we wanted. Thanks to Eric for the bug report 2014-05-23 15:30:23 +00:00
libcxxabi Fix typo in comment. 2014-05-14 17:16:57 +00:00
lld [Mips] Handle relocations against __gnu_local_gp symbol. 2014-05-27 05:23:16 +00:00
lldb Add stdlib.h for malloc and friends 2014-05-26 14:07:26 +00:00
llvm DebugInfo: Lazily attach definition attributes to definitions. 2014-05-27 18:37:43 +00:00
openmp Add testsuite from OpenUH 2014-05-10 17:02:09 +00:00
polly ScopDetectionDiagnostic: Update Makefile 2014-05-24 18:51:14 +00:00