diff options
author | Devang Patel <dpatel@apple.com> | 2010-09-13 20:46:23 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-09-13 20:46:23 +0000 |
commit | 068b5b3d61f4d71c172227e4fd42d3af342c17f3 (patch) | |
tree | 8c68ba6f81c3afd75be2d17a33f3cf4b521e60ef /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | ddc68dd3a1b03ecde1ae49fe6b7e9a744ee1da65 (diff) | |
download | bcm5719-llvm-068b5b3d61f4d71c172227e4fd42d3af342c17f3.tar.gz bcm5719-llvm-068b5b3d61f4d71c172227e4fd42d3af342c17f3.zip |
Recognize .ll as input files.
Handle %test_debuginfo on a RUN command line.
This set up now allows one to write small test cases to check debug info.
e.g.
; RUN: %clang -O0 -g %s -c -o %t.o
; RUN: %clang %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
define i32 @f1(i32 %i) nounwind ssp {
; DEBUGGER: break f1
; DEBUGGER: r
; DEBUGGER: p i
; CHECK: $1 = 42
entry:
%i.addr = alloca i32, align 4
...
...
}
It is also possible now to write test cases in c/c++.
The plan is to store these debug info testcases in a separate place.
llvm-svn: 113780
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
0 files changed, 0 insertions, 0 deletions