Commit 0eb40cdb authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

dbghelp: Fix the spelling of a couple of comments.

parent 5f0b7390
......@@ -271,11 +271,11 @@ struct symt_data
* address in one of its ranges
*
* Notes:
* (A): shall evolve but storage is native is awkward: from PGO testing, the
* (A): shall evolve but storage in native is awkward: from PGO testing, the
* top function is stored with its first range of address; all the others
* are stored as blocks, children of compiland, but which lexical parent
* is the top function. This breaks the natural assumption that
* children <> lexical parent is symetrical.
* children <> lexical parent is symmetrical.
* (B): see dwarf.c for some gory discrepancies between native & builtin
* DbgHelp.
*/
......
......@@ -2201,7 +2201,7 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
}
/* Dwarf tends to keep the structure of the C/C++ program, and emits DW_TAG_lexical_block
* for every block in source program.
* for every block the in source program.
* With inlining and other optimizations, code for a block no longer lies in a contiguous
* chunk of memory. It's hence described with (potentially) multiple chunks of memory.
* Then each variable of each block is attached to its block. (A)
......@@ -2217,7 +2217,7 @@ static void dwarf2_parse_subprogram_block(dwarf2_subprogram_t* subpgm,
*
* DbgHelp only exposes a contiguous chunk of memory for a block.
*
* => Store internaly all the ranges of addresses in a block, but only expose the size
* => Store internally all the ranges of addresses in a block, but only expose the size
* of the first chunk of memory.
* Otherwise, it would break the rule: blocks' chunks don't overlap.
* Note: This could mislead some programs using the blocks' address and size information.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment