1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/include/llvm
Djordje Todorovic 74ad5c12ad [Debugify] Make the debugify aware of the original (-g) Debug Info
As discussed on the RFC [0], I am sharing the set of patches that
enables checking of original Debug Info metadata preservation in
optimizations. The proof-of-concept/proposal can be found at [1].

The implementation from the [1] was full of duplicated code,
so this set of patches tries to merge this approach into the existing
debugify utility.

For example, the utility pass in the original-debuginfo-check
mode could be invoked as follows:

  $ opt -verify-debuginfo-preserve -pass-to-test sample.ll

Since this is very initial stage of the implementation,
there is a space for improvements such as:
  - Add support for the new pass manager
  - Add support for metadata other than DILocations and DISubprograms

[0] https://groups.google.com/forum/#!msg/llvm-dev/QOyF-38YPlE/G213uiuwCAAJ
[1] https://github.com/djolertrk/llvm-di-checker

Differential Revision: https://reviews.llvm.org/D82545
2021-02-18 01:52:16 -08:00
..
ADT [ADT] Add SFINAE guards to unique_function constructor. 2021-02-17 10:36:07 +01:00
Analysis [NFC] Refactor LoopInterchange into a loop-nest pass 2021-02-18 00:55:38 +08:00
AsmParser
BinaryFormat [XCOFF][NFC] make csect properties optional for getXCOFFSection 2021-02-17 20:51:42 -05:00
Bitcode [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Bitstream [llvm] Use append_range (NFC) 2021-01-29 23:23:34 -08:00
CodeGen [GlobalISel] Add G_ASSERT_SEXT 2021-02-17 13:10:34 -08:00
Config [Timer] On macOS count number of executed instructions 2021-02-11 17:26:37 +01:00
DebugInfo [Symbolize] Teach symbolizer to work directly on object file. 2021-02-12 18:26:24 +00:00
Demangle [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
DWARFLinker [dsymutil][DWARFLinker][NFC] make AddressManager not depending on the order of checks for relocations. 2021-01-31 16:34:10 +03:00
ExecutionEngine [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
FileCheck [FileCheck] Add a literal check directive modifier 2020-12-18 17:26:15 -08:00
Frontend [OpenMP] Implement '#pragma omp tile', by Michael Kruse (@Meinersbur). 2021-02-16 09:45:07 -08:00
FuzzMutate [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
InterfaceStub [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
IR [AMDGPU] gfx90a support 2021-02-17 16:01:32 -08:00
IRReader
LineEditor
Linker
LTO Recommit "[LTO] Use lto::backend for code generation." 2021-02-15 10:05:42 +00:00
MC [XCOFF][NFC] make StorageMappingClass/SymbolType member optional 2021-02-18 04:46:05 -05:00
MCA [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Object [llvm-objdump] Map STT_TLS to ST_Other (previously ST_Data) 2021-02-17 23:17:20 -08:00
ObjectYAML [obj2yaml,yaml2obj] Add NumBlocks to the BBAddrMapEntry yaml field. 2021-02-17 15:45:13 -08:00
Option [clang][cli] Generate and round-trip CodeGen options 2021-02-09 11:43:38 +01:00
Passes [opt][NewPM] Add a --print-passes flag to print all available passes 2021-02-10 11:22:12 -08:00
ProfileData Revert "[SampleFDO][NFC] Refactor SampleProfile.cpp" 2021-02-16 22:11:42 +00:00
Remarks [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
Support [AMDGPU] gfx90a support 2021-02-17 16:01:32 -08:00
TableGen [llvm] Use llvm::is_contained (NFC) 2021-02-14 08:36:20 -08:00
Target [GlobalISel] Add G_ASSERT_SEXT 2021-02-17 13:10:34 -08:00
Testing/Support
TextAPI/MachO [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
ToolDrivers
Transforms [Debugify] Make the debugify aware of the original (-g) Debug Info 2021-02-18 01:52:16 -08:00
WindowsManifest [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
WindowsResource
XRay [llvm] Fix header guards (NFC) 2021-02-05 21:02:06 -08:00
CMakeLists.txt
InitializePasses.h Add ehcont section support 2021-02-15 14:27:12 +08:00
LinkAllIR.h
LinkAllPasses.h [ScalarizeMaskedMemIntrin] Add new PM support 2020-12-08 17:15:22 -05:00
module.extern.modulemap
module.install.modulemap
module.modulemap [modules] Put Frontend/OpenMP headers into a Clang module to fix the module build 2021-02-08 09:54:45 +01:00
module.modulemap.build
Pass.h [NFC] Rename ThinLTOPhase to ThinOrFullLTOPhase and move it from PassBuilder.h 2021-01-13 15:55:40 -08:00
PassAnalysisSupport.h [PM] Avoid duplicates in the Used/Preserved/Required sets 2021-01-20 13:55:18 +01:00
PassInfo.h
PassRegistry.h
PassSupport.h