| 1 | // RUN: %clang_cc1 -w -debug-info-kind=line-tables-only -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - | FileCheck %s |
|---|---|
| 2 | // RUN: %clang_cc1 -w -debug-info-kind=line-directives-only -fexceptions -fcxx-exceptions -S -emit-llvm %s -o - | FileCheck %s |
| 3 | |
| 4 | int f1(int a, int b) { |
| 5 | // CHECK: icmp {{.*}}, !dbg [[DBG_F1:!.*]] |
| 6 | #line 100 |
| 7 | return a // |
| 8 | && // |
| 9 | b; |
| 10 | } |
| 11 | |
| 12 | // CHECK: [[DBG_F1]] = !DILocation(line: 100, |
| 13 |