llvm-project/llvm/lib
Daniel Sanders a79b2fc44b Add pass to strip debug info from MIR
Summary:
Removes:
* All LLVM-IR level debug info using StripDebugInfo()
* All debugify metadata
* 'Debug Info Version' module flag
* All (valid*) DEBUG_VALUE MachineInstrs
* All DebugLocs from MachineInstrs

This is a more complete solution than the previous MIRPrinter
option that just causes it to neglect to print debug-locations.

* The qualifier 'valid' is used here because AArch64 emits
  an invalid one and tests depend on it

Reviewers: vsk, aprantl, bogner

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77747
2020-04-09 15:44:38 -07:00
..
Analysis Clean up usages of asserting vector getters in Type 2020-04-09 12:41:28 -07:00
AsmParser Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
BinaryFormat [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D 2020-04-06 10:10:10 -04:00
Bitcode Clean up usages of asserting vector getters in Type 2020-04-08 16:29:36 -07:00
Bitstream Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
CodeGen Add pass to strip debug info from MIR 2020-04-09 15:44:38 -07:00
DWARFLinker [DWARFLinker][dsymutil] followup for 88c2137b6d 2020-04-08 16:46:52 +03:00
DebugInfo [DWARF] Detect extraction errors in DWARFFormValue::extractValue 2020-04-09 13:41:02 +02:00
Demangle Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
ExecutionEngine [ORC] Make mangling convenience methods part of the public API of LLJIT. 2020-04-08 20:20:13 -07:00
Frontend [OpenMP] Add match_{all,any,none} declare variant selector extensions. 2020-04-07 23:33:24 -05:00
FuzzMutate Remove CompositeType class. 2020-03-18 13:53:17 -07:00
Fuzzer
IR [FPEnv] Use single enum to represent rounding mode 2020-04-09 13:26:47 +07:00
IRReader
LTO [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker() 2020-04-07 15:46:01 -07:00
LineEditor
Linker Remove SequentialType from the type heirarchy. 2020-04-06 17:03:49 -07:00
MC [PowerPC][Future] Add Support For Functions That Do Not Use A TOC. 2020-04-08 08:07:35 -05:00
MCA Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Object [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D 2020-04-06 10:10:10 -04:00
ObjectYAML [yaml2obj] - Add NBucket and NChain fields for the SHT_HASH section. 2020-04-01 12:28:16 +03:00
Option
Passes Add InjectTLIMappings pass to new pass manager 2020-04-06 13:16:48 -05:00
ProfileData Recommit [SampleFDO] Add flag for partial profile. 2020-04-07 14:28:25 -07:00
Remarks Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
Support [KnownBits] Move AND, OR and XOR logic into KnownBits 2020-04-09 10:10:37 +01:00
TableGen Explicitly include <cassert> when using assert 2020-03-02 22:45:28 +01:00
Target Fix an unused-variable warning in Release mode. 2020-04-09 16:34:55 -04:00
Testing
TextAPI [llvm][TextAPI] adding inlining reexported libraries support 2020-04-02 13:05:08 -07:00
ToolDrivers [llvm] Replace SmallStr.str().str() with std::string conversion operator. 2020-01-29 21:16:46 -08:00
Transforms [llvm][NFC] Replace CallSite with CallBase in Inliner 2020-04-09 15:01:58 -07:00
WindowsManifest Try to fix WindowsManifest CMake logic on Windows 2020-02-28 17:24:03 -08:00
XRay Use std::foo_t rather than std::foo in LLVM. 2020-02-11 15:12:51 -08:00
CMakeLists.txt
LLVMBuild.txt