History log of /external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
41245b4e2a2c71d764534b41bc38fea7c5cf6774 09-Dec-2013 Manman Ren <manman.ren@gmail.com> Merging r195504:
------------------------------------------------------------------------
r195504 | mren | 2013-11-22 13:49:45 -0800 (Fri, 22 Nov 2013) | 6 lines

Debug Info: update testing cases to specify the debug info version number.

We are going to drop debug info without a version number or with a different
version number, to make sure we don't crash when we see bitcode files with
different debug info metadata format.

------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196815 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
6e3cd0ebe22a7cc959ed301de7f2f09d7a9307c8 27-Aug-2013 Manman Ren <manman.ren@gmail.com> Debug Info: add an identifier field to DICompositeType.

DICompositeType will have an identifier field at position 14. For now, the
field is set to null in DIBuilder.
For DICompositeTypes where the template argument field (the 13th field)
was optional, modify DIBuilder to make sure the template argument field is set.
Now DICompositeType has 15 fields.

Update DIBuilder to use NULL instead of "i32 0" for null value of a MDNode.
Update verifier to check that DICompositeType has 15 fields and the last
field is null or a MDString.

Update testing cases to include an extra field for DICompositeType.
The identifier field will be used by type uniquing so a front end can
genearte a DICompositeType with a unique identifer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189282 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
d513b4033ff59526696c4db412362977a5b4fb8c 29-Jul-2013 Manman Ren <manman.ren@gmail.com> Debug Info: update testing cases to pass verifier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
e7e612f22fb3993b490827bf341196def60d8871 27-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> next batch of -disable-debug-info-verifier

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187260 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
a280a839f5c335b6ac1db61c6aa125dcd43b9869 25-Jul-2013 Manman Ren <manman.ren@gmail.com> Update testing cases to pass debug info verifier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
98cd02622d716cc1e2b6002e7f96a7b8f38c7ab0 19-Jul-2013 Manman Ren <mren@apple.com> Try to appease the bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186653 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
cbafae6d33031a72ba8219c28cb0e852511f79a3 28-Jun-2013 Manman Ren <mren@apple.com> Debug Info: clean up usage of Verify.

No functionality change.
It should suffice to check the type of a debug info metadata, instead of
calling Verify. For cases where we know the type of a DI metadata, use
assert.

Also update testing cases to make them conform to the format of DI classes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
c462db6d66e683fb837c03d661483106a869a407 22-Apr-2013 David Blaikie <dblaikie@gmail.com> Revert "Revert "PR14606: debug info imported_module support""

This reverts commit r179840 with a fix to test/DebugInfo/two-cus-from-same-file.ll

I'm not sure why that test only failed on ARM & MIPS and not X86 Linux, even
though the debug info was clearly invalid on all of them, but this ought to fix
it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
41201ed06fa4fb246f5a7e9e2b62168814eca6ff 19-Apr-2013 Eric Christopher <echristo@gmail.com> Revert "PR14606: debug info imported_module support"

This reverts commit r179836 as it seems to have caused test failures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
bcb81360a26cba066fae3acbe25b8ac161af6881 19-Apr-2013 David Blaikie <dblaikie@gmail.com> PR14606: debug info imported_module support

Adding another CU-wide list, in this case of imported_modules (since they
should be relatively rare, it seemed better to add a list where each element
had a "context" value, rather than add a (usually empty) list to every scope).
This takes care of DW_TAG_imported_module, but to fully address PR14606 we'll
need to expand this to cover DW_TAG_imported_declaration too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
72dfb052ab74a9e642256212a50c9b805ce5c943 28-Mar-2013 David Blaikie <dblaikie@gmail.com> Revert "Adding DIImportedModules to DIScopes."

This reverts commit 342d92c7a0adeabc9ab00f3f0d88d739fe7da4c7.

Turns out we're going with a different schema design to represent
DW_TAG_imported_modules so we won't need this extra field.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178215 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
342d92c7a0adeabc9ab00f3f0d88d739fe7da4c7 27-Mar-2013 David Blaikie <dblaikie@gmail.com> Adding DIImportedModules to DIScopes.

This is just the basic groundwork for supporting DW_TAG_imported_module but I
wanted to commit this before pushing support further into Clang or LLVM so that
this rather churny change is isolated from the rest of the work. The major
churn here is obviously adding another field (within the common DIScope prefix)
to all DIScopes (files, classes, namespaces, lexical scopes, etc). This should
be the last big churny change needed for DW_TAG_imported_module/using directive
support/PR14606.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
ced228dec30f088367d622720d6ccf7a22cd11e4 21-Mar-2013 David Blaikie <dblaikie@gmail.com> Move the DIFile in DISubprogram to the beginning to be a common prefix along with other DIScopes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177674 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
ebb5183a2f16abc7c88241bb42412465f52c2a61 21-Mar-2013 David Blaikie <dblaikie@gmail.com> Remove unused field in DISubprogram

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177661 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
404ecce8903f83271c82e368c834a9697799c296 20-Mar-2013 David Blaikie <dblaikie@gmail.com> Remove unused field in DICompileUnit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177590 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
4776bce28cb7d669329222c3d9cf6a97d6881c96 20-Mar-2013 David Blaikie <dblaikie@gmail.com> Refactor the DIFile (2nd) parameter to DITypes to be an MDNode reference to a raw directory/file pair

This makes DIType's first non-tag parameter the same as DIFile's, allowing them
to both share the common implementation of getFilename/getDirectory in DIScope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
a13f3cdb01c4900528018eebfe1b6c98dc607f99 20-Mar-2013 David Blaikie <dblaikie@gmail.com> Move the DIFile operand to DITypes from the 4th operand to the 2nd.

This is another step along the way to making all DIScopes have a common prefix
which can be added to in a general manner to support using directives
(DW_TAG_imported_module).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
b4cf0ab22b5a3ebb720f0b7287fdccfb465b6b7c 17-Mar-2013 David Blaikie <dblaikie@gmail.com> Split out filename & directory from DIFile to start generalizing over DIScopes

This is the first step to making all DIScopes have a common metadata prefix (so
that things (using directives, for example) that can appear in any scope can be
added to that common prefix). DIFile is itself a DIScope so the common prefix
of all DIScopes cannot be a DIFile - instead it's the raw filename/directory
name pair.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
e0805a992ddd2823604969c8aac61a2f339f3c01 13-Mar-2013 David Blaikie <dblaikie@gmail.com> Remove the unused 4th operand for DIFile debug info metadata

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176983 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
de3077ae6b5ad8e6f417a8f6aa0ca1ae980f6272 13-Mar-2013 David Blaikie <dblaikie@gmail.com> Refactor filename/directory in DICompileUnit into a DIFile

This is the next step towards making the metadata for DIScopes have a common
prefix rather than having to delegate based on their tag type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
46561ce249984ddea405ce837b53367a59fd9f3b 12-Mar-2013 David Blaikie <dblaikie@gmail.com> Remove unused "isMain" field from DICompileUnit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
14891447fff5b9a5980c1728fbe15140b6350ae3 12-Mar-2013 David Blaikie <dblaikie@gmail.com> Update debug info test cases with empty SplitDebugFilename field.

This could be 'null' or the empty string, DIDescriptor::getStringField
coalesces the two cases anyway so it's just a matter of legible/efficient
representation.

The change in behavior of the DICompileUnit::get* functions could be
subsumed by the full verification check - but ideally that should just be an
assertion if we could front-load the actual debug info metadata failure paths.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
d7e0de595672e1f62b0f95d6dc2cb878d11ce105 08-Mar-2013 David Blaikie <dblaikie@gmail.com> Upgrade tests to the latest debug info format.

Mostly this is just changing the named metadata (llvm.dbg.sp, llvm.dbg.gv,
llvm.dbg.<func>.lv, etc -> llvm.dbg.cu), adding a few fields to older records
(DIVariable: flags/inlined-at, DICompileUnit: sp/gv/types,
DISubprogram: local variables list)

The tests to update were discovered by a change I'm working on to remove debug
info version support - so any tests using old debug info versions I haven't
updated probably are bad tests or just not actually designed to test debug
info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll
8fe7979c416cc5aad167329a2d7e7f5000f445fe 24-Mar-2010 Devang Patel <dpatel@apple.com> Do not rely on getCompileUnit() to find source file information for a subprogram.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/test/DebugInfo/2010-03-24-MemberFn.ll