llvm-toolchain-9/debuginfo-tests
Lu zhiping c7c238d5f4 Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
..
win_cdb Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
.arcconfig Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
CMakeLists.txt Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
README.txt Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
aggregate-indirect-arg.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
apple-accel.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
asan-blocks.c Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
asan-deque.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
asan.c Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
block_var.m Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
blocks.m Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
ctor.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
dbg-arg.c Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
foreach.m Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
forward-declare-class.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
lit.cfg.py Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
lit.local.cfg Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
lit.site.cfg.py.in Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
llgdb.py Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
nested-struct.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
nrvo-string.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
safestack.c Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
sret.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
stack-var.c Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
static-member-2.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
static-member.cpp Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
test_debuginfo.pl Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00
vla.c Import Upstream version 9.0.1 2022-06-27 14:52:34 +08:00

README.txt

                                                                   -*- rst -*-
This is a collection of tests to check debugging information generated by 
compiler. This test suite can be checked out inside clang/test folder. This 
will enable 'make test' for clang to pick up these tests. Typically, test 
cases included here includes debugger commands and intended debugger output 
as comments in source file using DEBUGGER: and CHECK: as prefixes respectively.

For example::

  define i32 @f1(i32 %i) nounwind ssp {
  ; DEBUGGER: break f1
  ; DEBUGGER: r
  ; DEBUGGER: p i 
  ; CHECK: $1 = 42 
  entry:
  }

is a testcase where the debugger is asked to break at function 'f1' and 
print value of argument 'i'. The expected value of 'i' is 42 in this case.