summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-artificial-arg.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Generalize DebugInfo tests by avoiding explicit metadata numbersDavid Blaikie2013-02-021-5/+5
| | | | | | | | | | | | | | | This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
* Add [artificial] debug info annotation to test matching r171826David Blaikie2013-01-081-1/+1
| | | | llvm-svn: 171830
* Reapply:Eric Christopher2012-09-121-1/+1
| | | | | | | | | | | Make clang emit a flag for DW_AT_object_pointer for the artificial args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163755
* Revert "Make clang emit a flag for DW_AT_object_pointer for the artificial"Eric Christopher2012-09-121-1/+1
| | | | | | this should be done on the subprogram, not the variable. llvm-svn: 163733
* Make clang emit a flag for DW_AT_object_pointer for the artificialEric Christopher2012-09-121-1/+1
| | | | | | | | | | args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163668
* Forward declarations should take a context. This helps the debuggerEric Christopher2012-04-231-5/+5
| | | | | | | | | find forward declarations in the context that the actual definition will occur. rdar://11291658 llvm-svn: 155381
* Change location information for synthesized properties to be at theEric Christopher2012-04-031-1/+1
| | | | | | | | | | | | | | | | | | property file/line rather than the @synthesize file/line. Avoids some nasty confusing-ness with conflating the file from the scope and the line from the original declaration. Use the current scope location as a separate parameter so that we can match it up better in the line table with the beginning of the scope. Update a couple of testcases accordingly since I had to change that we actually use the passed in location in EmitFunctionStart and for the new metadata parameter and add a new testcase to make sure we've got the right line numbers for synthesized properties. Part of rdar://11026482 llvm-svn: 153917
* Make this test a bit more robust for debug info changes.Eric Christopher2012-02-271-2/+2
| | | | llvm-svn: 151518
* Remove the type retaining from the clang frontend. This is nowEric Christopher2012-02-201-4/+5
| | | | | | | | | | handled by the caching and rauw. Also fix one cache that wasn't being added to highlighted by this patch. Update all testcases accordingly. This should fix the deall failure. llvm-svn: 150977
* Don't cache the artificial type for the this pointer, there's noEric Christopher2012-02-091-0/+29
difference in the qual type. This is a workaround for the fact that the type isn't artificial but the this decl is, however, we don't have any way of representing it in the current metadata. For now, however, just don't cache the full type. Fixes rdar://10831526 and probably a couple of others. llvm-svn: 150159
OpenPOWER on IntegriCloud