llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.09k stars 12k forks source link

Bugpoint enhancement: Strip Debug info #29396

Open MatzeB opened 8 years ago

MatzeB commented 8 years ago
Bugzilla Link 29026
Version trunk
OS All
CC @donhinton,@preames

Extended Description

It is often possible to producer smaller output by stripping the debug info. (Do the same as "opt -strip-debug")

donhinton commented 6 years ago

This was added as the default to the crash debugger in r285094, and can be turned off via:

-disable-strip-debuginfo -disable-strip-debug-types

Is that sufficient, or would you also like it to work for the code generator debugger and miscompilation debugger?

llvmbot commented 1 year ago

Hi!

This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:

1) Assign the issue to you. 2) Fix the issue locally. 3) Run the test suite locally. 3.1) Remember that the subdirectories under test/ create fine-grained testing targets, so you can e.g. use make check-clang-ast to only run Clang's AST tests. 4) Create a git commit 5) Run git clang-format HEAD~1 to format your changes. 6) Submit the patch to Phabricator. 6.1) Detailed instructions can be found here

For more instructions on how to submit a patch to LLVM, see our documentation.

If you have any further questions about this issue, don't hesitate to ask via a comment on this Github issue.

@llvm/issue-subscribers-good-first-issue