6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for 3.5 rebase (r209713). Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/test/CodeGenCXX/debug-info.cpp
|
651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/CodeGenCXX/debug-info.cpp
|
7e43a43615eac6623430a248ead999482ee95d40 |
|
09-Oct-2013 |
Manman Ren <manman.ren@gmail.com> |
Debug Info: update testing cases when the derived-from field of DICompositeType is updated to use DITypeRef. Paired commit with r192251. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
83369bf8f6244f20ae8bfa2fcb3a556f94da27de |
|
30-Aug-2013 |
Manman Ren <manman.ren@gmail.com> |
Debug Info: generate a unique identifier for C++ struct, class, union, and enum. We use CXX mangler to generate unique identifier for external C++ struct, union, class and enum. Types with unique identifier are added to retained types by DIBuilder. Testing cases are updated to reflect the unique identifier generated for types. The order of MDNodes is changed because of retained types and testing cases are updated accordingly. Testing case debug-info-uuid.cpp now emits error with Itanium mangler, since uuid is not yet handled in Itanium mangler. And it will check for the error message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189622 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
18760453868e9b831b8575ae64119b07ab4dcdf5 |
|
29-Aug-2013 |
Manman Ren <manman.ren@gmail.com> |
Debug Info: this reverts commit r189600. We had further discussions on how to retain types, whether to do it in front end or in DIBuilder. And we agree to do it in DIBuilder so front ends generating unique identifier do not need to worry about retaining them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
f1acc31e4586dfec00a20e82094f7ad782d50cc3 |
|
29-Aug-2013 |
Manman Ren <manman.ren@gmail.com> |
Debug Info: generate a unique identifier for C++ struct, class, union, and enum. We use CXX mangler to generate unique identifier for external C++ struct, union, class and enum. Types with unique identifier are added to RetainedTypes to make sure they are treated as used even when all uses are replaced with the identifiers. A single type can be added to RetainedTypes multiple times. For example, both createForwardDecl and createLimitedType can add the same type to RetainedTypes. A set is used to avoid duplication when updating AllRetainTypes in DIBuilder. Testing cases are updated to reflect the unique identifier generated for types. The order of MDNodes is changed because of retained types and testing cases are updated accordingly. Testing case debug-info-uuid.cpp now emits error with Itanium mangler, since uuid is not yet handled in Itanium mangler. We choose to update RetainedTypes in clang, then at finalize(), we update AllRetainTypes in DIBuilder. The other choice is to update AllRetainTypes in DIBuilder when creating a DICompositeType with unique identifier. This option requires using ValueHandle for AllRetainTypes in DIBuilder since the created DICompositeType can be modified later on by setContainingType etc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189600 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
d7feb049c8a7674b274c83c3e3979e8886a54788 |
|
27-Aug-2013 |
Manman Ren <manman.ren@gmail.com> |
Debug Info: follow-up patch to r189283. Thanks David for his suggestion. This commit updates testing cases to have more specific CHECKs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
0858246d180a9e654ca6d755f5c12202cef4fc0b |
|
27-Aug-2013 |
Manman Ren <manman.ren@gmail.com> |
Debug Info: add an identifier field to DICompositeType. Paired with llvm r189282. Update testing cases to handle an extra field for DICompositeType. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
d6d5d69f61fba69fdbc5aae72b88a5b367a210ec |
|
09-Aug-2013 |
David Blaikie <dblaikie@gmail.com> |
Only emit debug info for implicit members that actually get codegen, not just ODR use. This includes special members (copy/default ctor, copy assign, default ctor) and template specializations for member function templates. Good for a 5% decrease (1.80 to 1.71 GB) in size on Clang+LLVM's .dwo files (when using fission). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188085 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
09a5604a1078d29123b76702256c7cb38151466b |
|
21-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types This is to make test cases looking for definitions more legible by making the definition explicit rather than just the absence of '[fwd]'. This allowed the debug-info-record tests to be rephrased - and in the interests of reducing the number of individual test cases/invocations we have, I merged them into one file, separated them with namespaces (& then moved them to C++ because namespaces are great). If they need to remain 'C' only tests, they can be moved back. (I didn't group them with 'debug-info-class.cpp' because these tests only apply to -fno-limit-debug-info) I removed the pieces of code that would cause these tests to pass under -flimit-debug-info to ensure the tests remain relevant to their fixes should we ever improve -flimit-debug-info to catch that kind of code. This commit is version locked with the corresponding change to DebugInfo.h in LLVM. Except some transient buildbot fallout. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
6f1a240cb21bbbac6ec19976784c960d49e0c146 |
|
20-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
Fix CodeGenCXX/debug-info.cpp to target a known ABI (x86-64-linux) so as not to be confused by strange (& currently broken) Windows ABI git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
cd91d05cf72346656056b9a9694a65782f48cb78 |
|
20-Jun-2013 |
Reid Kleckner <reid@kleckner.net> |
Fix CodeGenCXX/debug-info.cpp test on Windows On Windows, it looks like FlagIndirectVariable is being set in Flags for DIBuilder::createLocalVariable(), giving us an i32 of 8192 instead of 0, as on Linux. Fixes breakage from r184367. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184438 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
41c9baed95a1e7974e6cccf7b4120fd1866ff125 |
|
19-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
Debug Info: PR14763/r183329 - specify that non-trivial pass-by-value parameters are stored indirectly This is to fix the location information for such parameters to refer to the object accessible through the pointer rather than to the pointer parameter itself. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
993b39f4cd0fcc6007d6f65b6d82db3e0242c1a2 |
|
05-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
PR14763: Debug info for non-trivial record parameters There seems to have been some erroneous code attempting to describe the ABI of parameters (non-trivial record parameters are passed by reference). This would break the type of the function (especially when it caused a mismatch between the type of a declaration & a definition) causing PR14763 and PR14645. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183329 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
5f6e2f4010e1ebbc07231eff7c92e474e8912350 |
|
05-Jun-2013 |
David Blaikie <dblaikie@gmail.com> |
PR16214: Debug Info: -flimit-debug-info doesn't omit definitions for types used via typedefs In an effort to make -flimit-debug-info more consistent I over-shot the mark & made types used via typedefs never produce definitions in the debug info (even if the type was used in a way that would require a definition). The fix for this is to do exactly what I was hoping to do at some point - plumb the declaration/definition choice through the various layers of "CreateType" in CGDebugInfo. In this way we can produce declarations whenever they are sufficient & definitions otherwise - including when qualifiers are used, for example (discovered in PR14467). This may not be complete (there may be other types/situations where we need to propagate the "declaration/definition" choice) but it lays the basic foundation which we can enhance in future iterations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
eac29c855f7d6bf119d651190e7cbab5f7cb31a1 |
|
10-May-2013 |
David Blaikie <dblaikie@gmail.com> |
Fix some test cases I broke in r181552 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181554 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
0cd9edecec00e9f8ba78ed5af1fbfbcdafb5fb6c |
|
09-May-2013 |
David Blaikie <dblaikie@gmail.com> |
DebugInfo: Simply & constrain test(s) for PR9600/PR9608 Both these tests were ultimately fixed by the check for "isIncompleteType" & neither test case was really reduced to a minimal form. On doing so it becomes apparent that the problem wasn't specific to templates at all, so I've moved the test case to a more appropriate test file and added FileCheck verification to it (to show the forward declaration of the array element type as well as the array alignment and size being 0 since it cannot be computed). That's about as far down this rabbithole as I'm willing to go today, so the rest of the un-FileChecked tests in test/CodeGenCXX/debug-info.cpp will have to go another day without actually testing anything other than the fact that they don't crash. & improve the actually interesting test case in test/CodeGenCXX/debug-info-templates.cpp which was my original goal (in preparation for expanding it/fixing some related bugs in non-type template parameters) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
f068c92f22cc5c42433f5bd37b000a714a56670f |
|
03-Apr-2013 |
Eric Christopher <echristo@gmail.com> |
Revert "Revert r178079, it caused PR15637." This reverts commit r178497 since the backend has been fixed. Also add a test to ensure that we're emitting template information for unions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
bd0152fb251e84c6f335c66322b83a9af09fed0c |
|
01-Apr-2013 |
Nico Weber <nicolasweber@gmx.de> |
Revert r178079, it caused PR15637. Also add a test for PR15637. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
7803ec829d1cc657e21bb0d1afb8596a81bfd542 |
|
01-Sep-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Don't try to emit unsupported templated friend declarations. They're unsupported and may very well be dependent-types, triggering an assertion in debug info codegen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
e5848d680c8abc5c76f37b7149b349603db94ce0 |
|
23-Aug-2010 |
Devang Patel <dpatel@apple.com> |
test case for PR7920. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
e70d391ed56839841e4ace189d22ae3ee789b044 |
|
26-Jan-2010 |
Anders Carlsson <andersca@mac.com> |
Fix another debug info crash with virtual bases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
4433f1cf8a2704395e509d020d8f79da4e273458 |
|
26-Jan-2010 |
Anders Carlsson <andersca@mac.com> |
Fix the test I broke, and also fix a crash when declaring a virtual destructor. Add debug info support for pure virtual member functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94519 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
3364e626147dd6fc5e33d12cda0eaaa50baf2206 |
|
16-Jan-2010 |
Eli Friedman <eli.friedman@gmail.com> |
Fix crash generating debug info for constructor for anonymous struct. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93601 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 |
|
15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
20f12a20ba9cfa6f8d53c8304e24f50903c45184 |
|
06-Dec-2009 |
Anders Carlsson <andersca@mac.com> |
Add rudimentary support for member pointers to CGDebugInfo. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90711 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
5b6117a7727565be9fcaf709706c7d720bf191ad |
|
14-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Canonicalize the type before trying to create a debug type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
a031b35ba4da13e105a349493f5351014cfb3354 |
|
06-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Simplify the debug info code, handle lvalue references and template specializations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|
ba397fe24468fae6cb46f259a3f946770163bfe2 |
|
06-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Handle QualifiedNameType and SubstTemplateTypeParmType types in CGDebugInfo::CreateTypeNode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/debug-info.cpp
|