Commit 924cec8e authored by Diana Chen's avatar Diana Chen
Browse files

debug info: Refine the flow of handling the .debug_str merging

Move DebguString from Module to output .debug_str LDSection.
The flow of handling debug string merging:
1. ObjectLinker::mergeSections - parse the input .debug_str sections and add the
   strings to DebugString merged table
2. ObjectLinker::preLayout - set the output offset of the debug strings and size
   the output section
3. ObjectLinker::relocation - apply the debug string offset accordings to
   corresponding relocations
parent 0c7f9e56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment