| Crates.io | thorin-dwp |
| lib.rs | thorin-dwp |
| version | 0.9.0 |
| created_at | 2021-12-15 17:07:02.067264+00 |
| updated_at | 2025-03-24 15:47:01.045932+00 |
| description | Library for building DWARF packages from input DWARF objects and packages |
| homepage | https://docs.rs/thorin-dwp |
| repository | https://github.com/rust-lang/thorin |
| max_upload_size | |
| id | 498370 |
| size | 93,074 |
thorinthorin is an DWARF packaging utility for creating DWARF packages (*.dwp files) out of input
DWARF objects (*.dwo files; or *.o files with .dwo sections), supporting both the pre-standard
GNU extension format for DWARF packages and the standardized format introduced in DWARF 5.
thorin was written as part of the implementation of Split DWARF in rustc. A Rust implementation
of a DWARF packaging utility is easier to integrate into the compiler and can support features like
loading dwarf objects from archive files (or rustc's rlibs) which are helpful in supporting
cross-crate Split DWARF packaging in rustc.
To use thorin in your own project, add it to your Cargo.toml:
thorin-dwp = "0.9.0"
See the thorin-bin crate for an example of using thorin's library
interface.
thorin's library interface is intended for use by rustc for its Split DWARF support, it
currently comes with no stability guarantees and may change at any time.
thorin is named after Thorin Oakenshield from The Hobbit, as Thorin is
a dwarf who leads other dwarves. thorin uses the gimli library
(named after a dwarf from Lord of the Rings) to read DWARF format debug information,
the name of which is a medieval fantasy complement to ELF, the file format for executables
and object files.
rust-dwp, if you'd prefer that.
thorin is authored by David Wood of Huawei
Technologies Research & Development (UK) Ltd. thorin is maintained by the
Rust Compiler Team.
object and gimli, on which this
utility depends heavily; and to Philip Craig for advice
and reviews during initial implementation of thorin.