#
e89c62a1 |
| 21-Jul-2016 |
Adrian McCarthy <amccarth@google.com> |
Include unreferenced nested types in member list only for CodeView
Unreferenced nested structs and classes were omitted from the debug info. In DWARF, this was intentional, to avoid bloat. But for
Include unreferenced nested types in member list only for CodeView
Unreferenced nested structs and classes were omitted from the debug info. In DWARF, this was intentional, to avoid bloat. But for CodeView, we want this information to be consistent with what Microsoft tools would produce and expect.
llvm-svn: 276271
show more ...
|
Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1 |
|
#
0dabc2ad |
| 26-Apr-2016 |
Adrian Prantl <aprantl@apple.com> |
Module debugging: Also correctly handle typedef'd foward-declared members. Thanks again to Richard Smith for pointing this out.
llvm-svn: 267630
|
#
05fefa4a |
| 25-Apr-2016 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Fix the condition for determining whether a template instantiation is in a module.
This patch fixes the condition for determining whether the debug info for a template instantiatio
Module Debugging: Fix the condition for determining whether a template instantiation is in a module.
This patch fixes the condition for determining whether the debug info for a template instantiation will exist in an imported clang module by:
- checking whether the ClassTemplateSpecializationDecl is complete and - checking that the instantiation was in a module by looking at the first field.
I also added a negative check to make sure that a typedef to a forward-declared template (with the definition outside of the module) is handled correctly.
http://reviews.llvm.org/D19443 rdar://problem/25553724
llvm-svn: 267464
show more ...
|
#
383f8413 |
| 23-Apr-2016 |
Duncan P. N. Exon Smith <dexonsmith@apple.com> |
DebugInfo: Adapt to loss of DITypeRef in LLVM r267296
LLVM stopped using MDString-based type references, and DIBuilder no longer fills 'retainedTypes:' with every DICompositeType that has an 'identi
DebugInfo: Adapt to loss of DITypeRef in LLVM r267296
LLVM stopped using MDString-based type references, and DIBuilder no longer fills 'retainedTypes:' with every DICompositeType that has an 'identifier:' field. There are just minor changes to keep the same behaviour in CFE.
Leaving 'retainedTypes:' unfilled has a dramatic impact on the output order of the IR though. There are a huge number of testcase changes, which were unfortunately not really scriptable.
llvm-svn: 267297
show more ...
|
#
e76bda54 |
| 15-Apr-2016 |
Adrian Prantl <aprantl@apple.com> |
Update to match LLVM changes for PR27284. (Reverse the ownership between DICompileUnit and DISubprogram.)
http://reviews.llvm.org/D19034 <rdar://problem/25256815>
llvm-svn: 266445
|
#
5a9a4277 |
| 07-Mar-2016 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Fix a crash when emitting debug info for nested tag types whose DeclContext is not yet complete by deferring their emission.
rdar://problem/24918680
llvm-svn: 262851
|
Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3 |
|
#
af94c0f2 |
| 10-Feb-2016 |
Justin Lebar <jlebar@google.com> |
Remove some unnecessary CHECK-SAMEs in ModuleDebugInfo.{cpp,m}.
Suggested by Paul Robinson.
llvm-svn: 260346
|
#
ae06ca0c |
| 10-Feb-2016 |
Justin Lebar <jlebar@google.com> |
Get rid of CHECK-SAME-NOT in tests.
Summary: This isn't a FileCheck directive; it does nothing.
Reviewers: jroelofs
Subscribers: cfe-commits, majnemer
Differential Revision: http://reviews.llvm.o
Get rid of CHECK-SAME-NOT in tests.
Summary: This isn't a FileCheck directive; it does nothing.
Reviewers: jroelofs
Subscribers: cfe-commits, majnemer
Differential Revision: http://reviews.llvm.org/D17051
llvm-svn: 260334
show more ...
|
Revision tags: llvmorg-3.8.0-rc2 |
|
#
c96da8fa |
| 22-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Use a nonzero DWO id for precompiled headers. PCH files don't have a module signature and LLVM uses a nonzero DWO id as an indicator for skeleton / module CUs. This change pins the
Module Debugging: Use a nonzero DWO id for precompiled headers. PCH files don't have a module signature and LLVM uses a nonzero DWO id as an indicator for skeleton / module CUs. This change pins the DWO id for PCH files to a known constant value. The correct long-term solution here is to implement a module signature that is an actual dterministic hash (at the moment module signatures are just random nonzero numbers) and then enable this for PCH files as well.
<rdar://problem/24290667>
llvm-svn: 258507
show more ...
|
#
8f55b66a |
| 20-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Fine-tune the condition that determines whether a type can be found in a module.
There are externally visible anonymous types that can be found: typedef struct { } s; // I can be
Module Debugging: Fine-tune the condition that determines whether a type can be found in a module.
There are externally visible anonymous types that can be found: typedef struct { } s; // I can be found via the typedef. There are anonymous internal types that can be found: namespace { struct s {}; } // I can be found by name.
rdar://problem/24199640
llvm-svn: 258272
show more ...
|
#
cd975018 |
| 19-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Make sure that anonymous tag decls that define global variables are visited.
This shouldn't encourage anyone to put global variables into clang modules. rdar://problem/24199640
ll
Module Debugging: Make sure that anonymous tag decls that define global variables are visited.
This shouldn't encourage anyone to put global variables into clang modules. rdar://problem/24199640
llvm-svn: 258250
show more ...
|
Revision tags: llvmorg-3.8.0-rc1 |
|
#
e5238d2a |
| 19-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Defer the emission of anonymous tag decls until we are visiting their declcontext.
This fixes a regression introduced in r256962: When building debug info for a typdef'd anonymous
Module Debugging: Defer the emission of anonymous tag decls until we are visiting their declcontext.
This fixes a regression introduced in r256962: When building debug info for a typdef'd anonymous tag type, we would be visiting the inner anonymous type first thus creating a "typedef changes linkage of anonymous type, but linkage was already computed" error.
rdar://problem/24199640
llvm-svn: 258152
show more ...
|
#
35e765ba |
| 09-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Module debugging: Add a testcase for standalone forward declarations.
llvm-svn: 257241
|
#
b3b821f1 |
| 06-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Module debugging: Defer emitting tag types until their definition was visited and all decls have been merged.
We only get a single chance to emit the types for virtual classes because CGDebugInfo::c
Module debugging: Defer emitting tag types until their definition was visited and all decls have been merged.
We only get a single chance to emit the types for virtual classes because CGDebugInfo::completeRequiredType() categorically doesn't complete them.
llvm-svn: 256962
show more ...
|
#
aac97c93 |
| 05-Jan-2016 |
Adrian Prantl <aprantl@apple.com> |
Fix a typo in testcase and increase its coverage!
llvm-svn: 256874
|
Revision tags: llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
3459ce2e |
| 08-Oct-2015 |
Douglas Katzman <dougk@google.com> |
Stop messing with the 'g' group of options in CompilerInvocation.
With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request de
Stop messing with the 'g' group of options in CompilerInvocation.
With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request debug info from cc1 is with "-debug-info-kind={line-tables-only|limited|standalone}" and "-dwarf-version={2|3|4}". In the absence of a command-line option to specify Dwarf version, the Toolchain decides it, rather than placing Toolchain-specific logic in CompilerInvocation.
Also fix a bug in the Windows compatibility argument parsing in which the "rightmost argument wins" principle failed.
Differential Revision: http://reviews.llvm.org/D13221
llvm-svn: 249655
show more ...
|
#
a5206ce7 |
| 22-Sep-2015 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Use the clang module signature as the module's dwo_id when building a module. Clang already records the module signature when building a skeleton CU to reference a clang module.
Ma
Module Debugging: Use the clang module signature as the module's dwo_id when building a module. Clang already records the module signature when building a skeleton CU to reference a clang module.
Matching the id in the skeleton with the one in the module allows a DWARF consumer to verify that they found the correct version of the module without them needing to know about the clang module format.
llvm-svn: 248345
show more ...
|
#
54a3457f |
| 10-Sep-2015 |
Adrian Prantl <aprantl@apple.com> |
Debug Info: Remove an unnecessary debug type visitor. Thanks to dblaikie for spotting this.
llvm-svn: 247303
|
#
0981f734 |
| 08-Sep-2015 |
NAKAMURA Takumi <geek4civic@gmail.com> |
clang/test/Modules/ModuleDebugInfo.cpp: Add -triple %itanium to appease ms-targeted builds.
I think DebugInfo tests may avoid MS stuff for now.
llvm-svn: 247093
|
#
4aa2b3a3 |
| 08-Sep-2015 |
Adrian Prantl <aprantl@apple.com> |
Module Debugging: Emit debug type information into clang modules.
When -fmodule-format is set to "obj", emit debug info for all types declared in a module or referenced by a declaration into the mod
Module Debugging: Emit debug type information into clang modules.
When -fmodule-format is set to "obj", emit debug info for all types declared in a module or referenced by a declaration into the module's object file container.
This patch adds support for C and C++ types.
llvm-svn: 247049
show more ...
|