File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/librustc_codegen_llvm/debuginfo Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11//! # Debug Info Module
22//!
33//! This module serves the purpose of generating debug symbols. We use LLVM's
4- //! [source level debugging](http ://! llvm.org/docs/SourceLevelDebugging.html)
4+ //! [source level debugging](https ://llvm.org/docs/SourceLevelDebugging.html)
55//! features for generating the debug information. The general principle is
66//! this:
77//!
88//! Given the right metadata in the LLVM IR, the LLVM code generator is able to
99//! create DWARF debug symbols for the given code. The
10- //! [metadata](http ://! llvm.org/docs/LangRef.html#metadata-type) is structured
10+ //! [metadata](https ://llvm.org/docs/LangRef.html#metadata-type) is structured
1111//! much like DWARF *debugging information entries* (DIE), representing type
1212//! information such as datatype layout, function signatures, block layout,
1313//! variable location and scope information, etc. It is the purpose of this
1414//! module to generate correct metadata and insert it into the LLVM IR.
1515//!
1616//! As the exact format of metadata trees may change between different LLVM
1717//! versions, we now use LLVM
18- //! [DIBuilder](http ://! llvm.org/docs/doxygen/html/classllvm_1_1DIBuilder.html)
18+ //! [DIBuilder](https ://llvm.org/docs/doxygen/html/classllvm_1_1DIBuilder.html)
1919//! to create metadata where possible. This will hopefully ease the adaption of
2020//! this module to future LLVM versions.
2121//!
You can’t perform that action at this time.
0 commit comments