diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2020-04-08 10:27:17 -0700 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2020-04-09 15:44:38 -0700 |
commit | a79b2fc44bfd5b5c856ce7b62f40c991afd9a532 (patch) | |
tree | fbafcbd6200411e60dbd21d6395cbb791aaedca4 /llvm/lib/Support/OptimizedStructLayout.cpp | |
parent | 6612b826d05cc9fd1beb47a6a93f9e2b093b48af (diff) | |
download | llvm-a79b2fc44bfd5b5c856ce7b62f40c991afd9a532.zip llvm-a79b2fc44bfd5b5c856ce7b62f40c991afd9a532.tar.gz llvm-a79b2fc44bfd5b5c856ce7b62f40c991afd9a532.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions