Open main menu

CDOT Wiki β

Changes

Symbol

27 bytes added, 16:23, 11 September 2019
no edit summary
int a=5;
In the compiled code, the name of the variable is insignificant -- the object code will access the relevant memory location by address , or the relevant register, at the [[Machine Language|machine code]] level.
Symbolic information is generally lost during compilation, unless it is specifically preserved by the compiler. Most C compilers use the <code>-g</code> option to request that symbol information be attached to the binary for debugging purposes; a [[Debugger|debugger]] or [[Disassembler|disassembler]] can use this information to convert addresses and other numeric information to a symbolic representation. (Debug information may also include code-address-to-source-line-number cross reference data so that errors, code listings, and single-step operations can display or refer to the relevant source code).