Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write updated .debug_line information to temp file
Summary: Writes .debug_line section by setting the state in MCContext that LLVM needs to produce and output the line tables. This basically consists of setting the current location and compile unit offset. This makes LLVM output .debug_line in the temporary file, but not yet in the generated ELF file. Also computes the line table offsets for each compile unit and saves them into BinaryContext. Added an option to print these offsets. (cherry picked from FBD3004554)
- Loading branch information
Showing
3 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters