OSDN Git Service

Adding tests for DebugIR pass
authorDaniel Malea <daniel.malea@intel.com>
Fri, 28 Jun 2013 20:37:20 +0000 (20:37 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Fri, 28 Jun 2013 20:37:20 +0000 (20:37 +0000)
commit5fa8186b8dcc0be77f4ab64b1ef46ad919315b54
tree22b3d235e9173e85d46a31943ff2bce28a6613f7
parent74cf767093d3dd46dc3c7cf5666060e8c1ee0be0
Adding tests for DebugIR pass
- lit tests verify that each line of input LLVM IR gets a !dbg node and a
  corresponding entry of metadata that contains the line number
- unit tests verify that DebugIR works as advertised in the interface
- refactored some useful IR generation functionality from the MCJIT unit tests
  so it can be reused

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185212 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
test/Transforms/DebugIR/crash.ll [new file with mode: 0644]
test/Transforms/DebugIR/exception.ll [new file with mode: 0644]
test/Transforms/DebugIR/function.ll [new file with mode: 0644]
test/Transforms/DebugIR/lit.local.cfg [new file with mode: 0644]
test/Transforms/DebugIR/simple.ll [new file with mode: 0644]
test/Transforms/DebugIR/struct.ll [new file with mode: 0644]
test/Transforms/DebugIR/vector.ll [new file with mode: 0644]
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
unittests/Transforms/CMakeLists.txt
unittests/Transforms/DebugIR/CMakeLists.txt [new file with mode: 0644]
unittests/Transforms/DebugIR/DebugIR.cpp [new file with mode: 0644]
unittests/Transforms/DebugIR/Makefile [new file with mode: 0644]
unittests/Transforms/Makefile