summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/linetable-fnbegin.cpp
Commit message (Collapse)AuthorAge
* Harden this test against windows/changes.Eric Christopher2014-04-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205370 91177308-0d34-0410-b5e6-96231b3b80d8
* Partially revert r204517 and fix a different way:Eric Christopher2014-04-01
| | | | | | | | | | | | | We don't want to encourage the code to emit a lexical block for a function that needs one in order for the line table to change, we need to grab the line information from the body of the pattern that we were instantiated from, this code should do that. Modify the test case to ensure that we're still looking in the right place for all of the scopes and also that we haven't created a lexical block where we didn't need one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205368 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup testcase by adding return statements and replacing CHECK-DAG's withAdrian Prantl2014-03-24
| | | | | | | | plain old CHECKs. Follow-up to r204633. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204670 91177308-0d34-0410-b5e6-96231b3b80d8
* Use CHECK-DAG in a test so that it isn't sensitive to metadata order.Bob Wilson2014-03-24
| | | | | | | This was failing on an internal branch where the order was different for some reason. <rdar://problem/16407581> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204633 91177308-0d34-0410-b5e6-96231b3b80d8
* relax testcase to unbreak windows buildbots.Adrian Prantl2014-03-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204531 91177308-0d34-0410-b5e6-96231b3b80d8
* CGDebugInfo: At the end of EmitFunctionStart, Initialize PrevLoc to theAdrian Prantl2014-03-21
location that the next call emitLocation() would default to. Otherwise setLocation() may wrongly believe that the current source file didn't change, when in fact it did. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204517 91177308-0d34-0410-b5e6-96231b3b80d8