Yunzhong Gao | 51a31e1 | 2013-08-30 05:37:02 +0000 | [diff] [blame^] | 1 | // RUN: %clang %s -g -gcolumn-info -S -emit-llvm -o - | FileCheck %s |
2 | // Line table entries should reference this cpp file, not the header | ||||
3 | |||||
4 | #include "debug-info-line5.h" | ||||
5 | |||||
6 | int result; | ||||
7 | int foo(unsigned); | ||||
8 | |||||
9 | int main() | ||||
10 | { | ||||
11 | while ( 1 ) | ||||
12 | { | ||||
13 | result = foo(Marker); | ||||
14 | } | ||||
15 | return result; | ||||
16 | } | ||||
17 | |||||
18 | // CHECK: !{{[0-9]*}} = metadata !{i32 {{[0-9]*}}, i32 {{[0-9]*}}, null, metadata !"Marker", {{.*}} ; [ DW_TAG_variable ] [Marker] |