aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++
Commit message (Collapse)AuthorAgeFilesLines
* Generalize DISubprogram element to encode various flags instead of just one ↵Devang Patel2010-09-291-2/+2
| | | | | | | | | boolean for isArtificial. This is a backword compatible change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115084 91177308-0d34-0410-b5e6-96231b3b80d8
* Reapply r112623. Included additional check for unused byval argument.Devang Patel2010-08-311-0/+53
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112659 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r112623. It is causing self host build failures.Devang Patel2010-08-311-53/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112631 91177308-0d34-0410-b5e6-96231b3b80d8
* Remember byval argument's frame index during argument lowering and use this ↵Devang Patel2010-08-311-0/+53
| | | | | | | | | info to emit debug info. Fixes Radar 8367011. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112623 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests to not rely on input file's absolute path.Devang Patel2010-07-272-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109521 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case to insure template function declaration refers to correct ↵Stuart Hastings2010-07-231-0/+86
| | | | | | filename. Radar 8063111. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109258 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for 108732 (8195660).Dale Johannesen2010-07-191-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108733 91177308-0d34-0410-b5e6-96231b3b80d8
* Less incorrect handling of zero-length bitfields. Radars 7992077 and 8093043.Stuart Hastings2010-06-232-0/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106611 91177308-0d34-0410-b5e6-96231b3b80d8
* Corresponding test changes for r106564.Bill Wendling2010-06-221-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106569 91177308-0d34-0410-b5e6-96231b3b80d8
* test case for r106438.Devang Patel2010-06-211-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106439 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for nested functions/classes in debug output. (Again.) Radar 7424645.Stuart Hastings2010-06-111-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105828 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak test for debug/metadata change, update to FileCheck. Radar 7424645.Stuart Hastings2010-06-071-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105559 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 105492 & 105493 due to a testcase regression. Radar 7424645.Stuart Hastings2010-06-051-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105511 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for nested functions/classes in debug output. Radar 7424645.Stuart Hastings2010-06-041-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105492 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 104841, 104842, 104876 due to buildbot failures. Radar 7424645.Stuart Hastings2010-05-281-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104953 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for nested functions/classes in debug output. Radar 7424645.Stuart Hastings2010-05-271-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104841 91177308-0d34-0410-b5e6-96231b3b80d8
* Match "4" or "8" depending upon if it's 32- or 64-bit.Bill Wendling2010-05-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104196 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for r104181.Bill Wendling2010-05-191-0/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104182 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for r103633.Devang Patel2010-05-121-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103634 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm 103572 (7898991).Dale Johannesen2010-05-121-0/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103574 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for 103414.Devang Patel2010-05-101-0/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103415 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r102948.Bill Wendling2010-05-031-32/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102964 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for r102947.Bill Wendling2010-05-031-0/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102948 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2010-04-301-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102746 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -o /dev/null to some tests which don't care about their output.Dan Gohman2010-04-302-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102722 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting 100530 & 100531 due to regressions in the GDB test suite.Stuart Hastings2010-04-061-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100563 91177308-0d34-0410-b5e6-96231b3b80d8
* Revise debug info machinery to digest nested functions and classes.Stuart Hastings2010-04-061-1/+3
| | | | | | | | | | | A certain GDB testsuite case (local.cc) has a function nested inside a class nested inside another function. GCC presents the innermost function to llvm-convert first. Heretofore, the debug info mistakenly placed the inner function at module scope. This patch walks the GCC context links and instantiates the outer class and function so the debug info is properly nested. Radar 7426545. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100530 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for llvm-gcc r99305. Radar 7659636.Stuart Hastings2010-03-231-0/+134
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99306 91177308-0d34-0410-b5e6-96231b3b80d8
* Chris pointed out that producing undef here is wrong inDuncan Sands2010-03-161-11/+0
| | | | | | | general. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98649 91177308-0d34-0410-b5e6-96231b3b80d8
* Check that P is not zero initialized.Duncan Sands2010-03-161-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98627 91177308-0d34-0410-b5e6-96231b3b80d8
* Start using DIFile. See updated SourceLevelDebugging.html for more information.Devang Patel2010-03-091-1/+1
| | | | | | | | | | | This patch updates LLVMDebugVersion to 8. Debug info descriptors encoded using LLVMDebugVersion 7 is supported. Corresponding llvmgcc and clang FE commits are required. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98020 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore target dependent value in grep search.Devang Patel2010-02-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96604 91177308-0d34-0410-b5e6-96231b3b80d8
* New test case for r96543.Devang Patel2010-02-181-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96544 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert:Eric Christopher2010-02-171-16/+0
| | | | | | | | | | | r95605 | dpatel | 2010-02-08 15:27:46 -0800 (Mon, 08 Feb 2010) | 2 lines test case for r95604. Which was the testcase for the patch reverted from llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96474 91177308-0d34-0410-b5e6-96231b3b80d8
* test case for r95604.Devang Patel2010-02-081-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95605 91177308-0d34-0410-b5e6-96231b3b80d8
* Debugging is now reenabled on PPC darwin, so reenableDale Johannesen2010-02-031-3/+1
| | | | | | | | these tests (they pass). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95263 91177308-0d34-0410-b5e6-96231b3b80d8
* this test has been failing or a long time, just disable it for now to getChris Lattner2010-01-241-5/+5
| | | | | | | back to green. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94371 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc checkin 92108.Dale Johannesen2009-12-241-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92110 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL these tests on powerpc, under the assumption that no one cares. If you ↵Daniel Dunbar2009-12-211-0/+1
| | | | | | care, feel free to fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91826 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix this code to use DIScope instead of DICompileUnit, as in r90181.Dan Gohman2009-12-051-1/+1
| | | | | | | | Don't print "SrcLine"; just print the filename and line number, which is obvious enough and more informative. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90631 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove now-redundant llvm-as invocations.Dan Gohman2009-12-054-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90626 91177308-0d34-0410-b5e6-96231b3b80d8
* Add testcase for PR4262.Bill Wendling2009-12-041-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90623 91177308-0d34-0410-b5e6-96231b3b80d8
* Debug info is disabled on PPC Darwin.Bill Wendling2009-11-302-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90160 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for llvm-gcc checkin 89898.Dale Johannesen2009-11-251-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89899 91177308-0d34-0410-b5e6-96231b3b80d8
* Not all ASM has # for comments.Bill Wendling2009-11-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89250 91177308-0d34-0410-b5e6-96231b3b80d8
* Move DebugInfo checks into EmitComments and remove them fromDavid Greene2009-11-131-1/+0
| | | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88697 91177308-0d34-0410-b5e6-96231b3b80d8
* Reenable StackTracke.cpp test.Devang Patel2009-11-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86861 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL for now.Devang Patel2009-11-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86784 91177308-0d34-0410-b5e6-96231b3b80d8
* Use ',' separation in XFAILs, lit doesn't evaluate them as regexs (easy to add,Daniel Dunbar2009-11-093-3/+3
| | | | | | but might as well use the more standard syntax). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86553 91177308-0d34-0410-b5e6-96231b3b80d8
* turn IPSCCP back on by default, try #3 or 4? Woo.Chris Lattner2009-11-031-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85929 91177308-0d34-0410-b5e6-96231b3b80d8