Eric Christopher | 22b617f | 2012-09-12 18:42:10 +0000 | [diff] [blame] | 1 | // RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_AT_artificial | count 3 |
Devang Patel | aca745b | 2010-09-29 23:09:21 +0000 | [diff] [blame] | 2 | // self and _cmd are marked as DW_AT_artificial. |
Eric Christopher | 22b617f | 2012-09-12 18:42:10 +0000 | [diff] [blame] | 3 | // abbrev code emits another DT_artificial comment. |
Devang Patel | aca745b | 2010-09-29 23:09:21 +0000 | [diff] [blame] | 4 | // myarg is not marked as DW_AT_artificial. |
| 5 | |
Devang Patel | aca745b | 2010-09-29 23:09:21 +0000 | [diff] [blame] | 6 | @interface MyClass { |
| 7 | } |
| 8 | - (id)init:(int) myarg; |
| 9 | @end |
| 10 | |
| 11 | @implementation MyClass |
| 12 | - (id) init:(int) myarg |
| 13 | { |
| 14 | return self; |
| 15 | } |
| 16 | @end |