1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/test
Djordje Todorovic 88aa158bd7 Recommit: "[Debugify][Original DI] Test dbg var loc preservation""
[Debugify][Original DI] Test dbg var loc preservation

    This is an improvement of [0]. This adds checking of
    original llvm.dbg.values()/declares() instructions in
    optimizations.

    We have picked a real issue that has been found with
    this (actually, picked one variable location missing
    from [1] and resolved the issue), and the result is
    the fix for that -- D100844.

    Before applying the D100844, using the options from [0]
    (but with this patch applied) on the compilation of GDB 7.11,
    the final HTML report for the debug-info issues can be found
    at [1] (please scroll down, and look for
    "Summary of Variable Location Bugs"). After applying
    the D100844, the numbers has improved a bit -- please take
    a look into [2].

    [0] https://llvm.org/docs/HowToUpdateDebugInfo.html#\
        test-original-debug-info-preservation-in-optimizations
    [1] https://djolertrk.github.io/di-check-before-adce-fix/
    [2] https://djolertrk.github.io/di-check-after-adce-fix/

    Differential Revision: https://reviews.llvm.org/D100845

The Unit test was failing because the pass from the test that
modifies the IR, in its runOnFunction() didn't return 'true',
so the expensive-check configuration triggered an assertion.
2021-05-21 02:04:29 -07:00
..
Analysis [IR] Memory intrinsics are not unconditionally nosync 2021-05-21 03:40:59 +02:00
Assembler [OpaquePtr] Make atomicrmw work with opaque pointers 2021-05-19 12:49:28 -07:00
Bindings
Bitcode [IR][AutoUpgrade] Drop alignment from non-pointer parameters and returns 2021-05-20 09:54:38 -07:00
BugPoint
CodeGen [ARM] Fix the operand used for WLS in ARMLowOverheadLoops 2021-05-21 09:29:30 +01:00
DebugInfo [AIX] Print printable byte list as quoted string 2021-05-21 02:37:55 +00:00
Demangle [Demangle][Rust] Parse tuples 2021-05-19 00:04:42 +02:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [asan] Add autogenerated test for fake stack 2021-05-20 15:48:16 -07:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [WebAssembly] Fix PIC/GOT codegen for wasm64 2021-05-20 09:59:31 -07:00
Object
ObjectYAML
Other [NewPM] Add options to PrintPassInstrumentation 2021-05-18 20:59:35 -07:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86
tools Recommit: "[Debugify][Original DI] Test dbg var loc preservation"" 2021-05-21 02:04:29 -07:00
Transforms [IR] Memory intrinsics are not unconditionally nosync 2021-05-21 03:40:59 +02:00
Unit
Verifier [OpaquePtr] Make atomicrmw work with opaque pointers 2021-05-19 12:49:28 -07:00
YAMLParser
.clang-format
CMakeLists.txt Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h 2021-05-19 11:15:07 -04:00
lit.cfg.py [AIX] Add %pluginext and update tests to use proper pluginext 2021-04-27 20:34:54 -04:00
lit.site.cfg.py.in Fix lld macho standalone build by including llvm/Config/llvm-config.h instead of llvm/Config/config.h 2021-05-19 11:15:07 -04:00
TestRunner.sh