llvm-project/debuginfo-tests
Zachary Turner 8b6ef88e7e Resubmit "Refactor debuginfo-tests" again.
This was reverted due to the tests being run twice on some
build bots.  Each run had a slightly different configuration
due to the way in which it was being invoked.  This fixes
the problem (albeit in a somewhat hacky way).  Hopefully in
the future we can get rid of the workflow of running
debuginfo-tests as part of clang, and then this hack can
go away.

llvm-svn: 318697
2017-11-20 21:41:36 +00:00
..
tests Resubmit "Refactor debuginfo-tests" again. 2017-11-20 21:41:36 +00:00
CMakeLists.txt Resubmit "Refactor debuginfo-tests" again. 2017-11-20 21:41:36 +00:00
README.txt fix typos 2013-09-06 18:10:42 +00:00
lit.cfg.py Resubmit "Refactor debuginfo-tests" again. 2017-11-20 21:41:36 +00:00
lit.site.cfg.py.in Resubmit "Refactor debuginfo-tests" again. 2017-11-20 21:41:36 +00: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.