diff options
| author | David Blaikie <dblaikie@gmail.com> | 2013-05-20 04:58:53 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2013-05-20 04:58:53 +0000 |
| commit | 9faebd23fd69ac1591520e811dfa5b25f73012f3 (patch) | |
| tree | 39725eaeb17b32b080c96cf0d7eea36c75509f57 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 5ac8c4f449e291d5a1a34777e58f4218794f4646 (diff) | |
| download | clang-9faebd23fd69ac1591520e811dfa5b25f73012f3.tar.gz clang-9faebd23fd69ac1591520e811dfa5b25f73012f3.tar.bz2 clang-9faebd23fd69ac1591520e811dfa5b25f73012f3.tar.xz | |
Revert "Revert "Debug Info: Using declarations/DW_TAG_imported_declaration of variables, types, and functions.""
This reverts commit r181947 (git d2990ce56a16050cac0d7937ec9919ff54c6df62 )
This addresses one of the two issues identified in r181947, ensuring
that types imported via using declarations only result in a declaration
being emitted for the type, not a definition. The second issue (emitting
using declarations that are unused) is hopefully an acceptable increase
as the real fix for this would be a bit difficult (probably at best we
could record which using directives were involved in lookups - but may
not have been the result of the lookup).
This also ensures that DW_TAG_imported_declarations (& directives) are
not emitted in line-tables-only mode as well as ensuring that typedefs
only require/emit declarations (rather than definitions) for referenced
types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
