Skip to content

Files

Latest commit

559c6e1 · Jun 27, 2019

History

History
This branch is 235847 commits behind intel/llvm:sycl.

debuginfo-tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 20, 2019
Dec 12, 2017
Jul 18, 2018
Sep 6, 2013
Nov 21, 2017
Jul 31, 2018
Dec 7, 2017
Aug 4, 2018
Dec 7, 2017
Nov 21, 2017
Nov 21, 2017
Nov 21, 2017
Nov 21, 2017
Nov 21, 2017
Nov 21, 2017
Jun 25, 2019
Nov 21, 2017
May 29, 2019
Jun 17, 2019
Nov 21, 2017
Jun 27, 2019
Aug 14, 2018
Nov 21, 2017
Dec 7, 2017
Nov 21, 2017
Nov 21, 2017
Jun 10, 2018
Nov 21, 2017
-- 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.