1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 07:52:55 +01:00
llvm-mirror/test
Michael Gottesman 0f9b142f60 Update StripDeadDebugInfo to use DebugInfoFinder so that it is no longer stale to the point of not working and more resilient to debug info changes.
The current version of StripDeadDebugInfo became stale and no longer actually
worked since it was expecting an older version of debug info.

This patch updates it to use DebugInfoFinder and the modern DebugInfo classes as
much as possible to make it more redundent to such changes. Additionally, the
only place where that was avoided (the code where we replace the old sets with
the new), I call verify on the DIContextUnit implying that if the format changes
and my live set changes no longer make sense an assert will be hit. In order to
ensure that that occurs I have included a test case.

The actual stripping of the dead debug info follows the same strategy as was
used before in this class: find the live set and replace the old set in the
given compile unit (which may contain dead global variables/functions) with the
new live one.

llvm-svn: 189078
2013-08-23 00:23:24 +00:00
..
Analysis FileCheck-ize tests. 2013-08-22 00:51:19 +00:00
Assembler [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Bindings/Ocaml [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Bitcode Use -disable-output and to suppress output and don't use a temporary file unless we need one. 2013-08-20 23:00:25 +00:00
BugPoint [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
CodeGen [stack protector] Work around an issue with the BMOVPCB_CALL instruction on ARM by disabling does not return on __stack_chk_fail. 2013-08-22 23:45:24 +00:00
DebugInfo Update to remove the no-frame-pointer-elim-non-leaf flag if it was set to 'false'. 2013-08-22 21:28:54 +00:00
ExecutionEngine In LLVM FMA3 operands are dst, src1, src2, src3, however dst is not encoded as it is always src1. This was causing the encoding of the operands to be off by one. 2013-08-21 05:03:10 +00:00
Feature [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
FileCheck [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Instrumentation DataFlowSanitizer: Replace non-instrumented aliases of instrumented functions, and vice versa, with wrappers. 2013-08-22 20:08:15 +00:00
Integer [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
JitListener [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Linker [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
MC Fix ARM vcvt encoding when the number of fractional bits is zero. 2013-08-22 13:16:07 +00:00
Object MC CFG: Remap enough for data too, analoguous to r188873. 2013-08-21 19:40:28 +00:00
Other Update to remove the no-frame-pointer-elim-non-leaf flag if it was set to 'false'. 2013-08-22 21:28:54 +00:00
TableGen FileCheckize some tests. 2013-08-22 20:46:05 +00:00
tools [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Transforms Update StripDeadDebugInfo to use DebugInfoFinder so that it is no longer stale to the point of not working and more resilient to debug info changes. 2013-08-23 00:23:24 +00:00
Unit
Verifier [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
YAMLParser
CMakeLists.txt
lit.cfg [tests] Update fma3 check to work with Py3. 2013-08-21 22:26:44 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh