Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for zstd compressed debug sections (#318) #364

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 20, 2023

  1. Add support for zstd compressed debug sections (google#318)

    Add support for processing zstd compressed debug sections. `lld` and associated tools now support using `zstd` in addition to `zlib` for debug info compression, for example:
    
    ```
    clang++ -gz=zstd foo.cc
    
    clang++ -shared -W,--compress-debug-sections=zstd foo.cc
    
    llvm-objcopy --compress-debug-sections=zstd foo.o foo-compressed.o
    ```
    
    This CL:
    - Adds a dependency on `zstd`
    - Handles the `ELFCOMPRESS_ZSTD` `ch_type` flag
    - Uses `zstd` to decompress sections marked with `ELFCOMPRESS_ZSTD`
    EricRahm committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    bf9d97a View commit details
    Browse the repository at this point in the history