[all-commits] [llvm/llvm-project] 0fbb26: [llvm-reduce] Attempt to strip debug info

aeubanks via All-commits all-commits at lists.llvm.org
Fri Oct 21 09:14:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fbb261536a479c38a7bc26528b3f6984bfd4d84
      https://github.com/llvm/llvm-project/commit/0fbb261536a479c38a7bc26528b3f6984bfd4d84
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    A llvm/test/tools/llvm-reduce/strip-debug-info.ll
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/tools/llvm-reduce/DeltaManager.cpp
    A llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
    A llvm/tools/llvm-reduce/deltas/StripDebugInfo.h
    M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn

  Log Message:
  -----------
  [llvm-reduce] Attempt to strip debug info

I often run llvm-reduce on IR that contains debug info, this prevents an
extra step of `opt -passes=strip` I do every time and will result in a
lot less invalid reductions around debug metadata.

Reviewed By: dblaikie

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




More information about the All-commits mailing list